Re: Need help inbound connections to several ports
[ QUOTE ]
I am a noob to this firewall and I have a fairly simple setup, I am having a problem with ASL (latest version) any client can connect to any outside server, But I cannot seem to get the system to allow inbound connections to my webserver or mailserver.
I guess that I am not understanding DNSAT/SNAT currently I have made under defenitions --> my webserver 192.168.1.103 and allowed the External-Interface under packet filter http so its set client : External Interface
server: my webserver service: http
and it does not work. I think this program is awsome and sure its my lack of understanding the DNAT/SNAT rules. I am sure that it has been explained hundreds of times in this forum So if anyone can just point me in the right direction I am not afraid to read the man but cannot seem to find any pages about it.... Anyhelp would be greatly appreciated....
I have 2 nics External to DSL connection and 1 going to the internal network. Also If there is a way and it looks as if there is I would like to DMZ my web/mail server at the .103 address.
Also I have noticed that when entering the subnet of a class c it makes me enter 255.255.255.255 I nornally just enter .0 I dont understand this it says it does not make sense to enter in for 192.168.1.103 a subnet of 255.255.255.0 ????
what am I missing ?
Thanks ....
[/ QUOTE ]
Ok, to get a webserver running through the firewall you need to do three things.
1.) create a new Network def with your servers local IP. Like this:
servername 192.168.0.3 255.255.255.255
2.) Forward incoming traffic on port 80 to that machine. Like this:
Source address: Any
Destination address: external interface
Service: HTTP
Change source to: No change
Change destination to: your newly defined netwoek def for your server
Service destination: No change
3.)
Now create a new packet filter rule to allow the incoming traffic:
From (Client): Any
To (Server): your newly defined netwoek def for your server
Service: HTTP
Action: Allow
I have a FTP server ruing perfectly right now.
|