Routing Http traffic throught my NAT server?

BML

Senior member
Jun 1, 2001
443
0
0
Routing Http traffic throught my NAT server.
I rout port ho http from my external connection to my internal IIS ip and can get through.
Any ideas?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Add:
rdr on $EXT_INF proto tcp from any to "$EXT_INF" port 80 -> $WWW_SERVER port 80
to your /etc/pf.conf
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: BML
Sorry my nat/router is a .net server not linux my fault.

I didnt post anything for Linux. Its OpenBSD's Packet Filter. :D

Glad you got the hint though ;)
 

Thor86

Diamond Member
May 3, 2001
7,888
7
81
Originally posted by: BML
Sorry my nat/router is a .net server not linux my fault.

I'm assuming you are using Win2k3 RC. Try this page:

Link

YMMV as I never used ICS with MS products lately.

 

BML

Senior member
Jun 1, 2001
443
0
0
Im not using ICS and I havent since the Windows 98 days :(
Im using 2003 server and NAT I think I need to configure a static route.
I configured a static route on the external interface for port 8080 destination address 192.168.0.0 gateway 192.168.10.1
192.168.0.0 (my internal network)
192.168.0.1 (my address to my lan network card)
 

Fuzznuts

Senior member
Nov 7, 2002
449
0
0
why port 8080 fo rthat to work people need to type www.blah.com:8080 in thier browser and you cant forward a 0 ip you need to forward port 80 from you external interface in to you lan ip a static route is something entierly different and is done by network or ip not port. look in the help file on 2k3 srv for port mapping or port forwarding or maybe even PAT.

 

BML

Senior member
Jun 1, 2001
443
0
0
I use port 8080 because my isp blocks port 80. I have it redirected to another url so that is not the worry. So I guess the thing i need to look at is port mapping?
Thanx for the help and im also trying to forward port 22 ssh to a linux machine behind the same nat server.