Guest User!

You are not Sophos Staff.

NAT n00b

Hi,

after 5 installations of asl i am now ready configuring my network... (there were some problems with my switch, etc... nothing to do with asl...)

i tried to add some test rules, but through none of this i get a connection to the internet from a client machine.  [:(] 

i want to:
all local requests on port 80 should be forwarded...
all incomming requests on port 80 should be forwarded to 172.30.1.10:80
same on port 21 to 172.30.2.5:21

i added a rule like:
nat requests from 172.30.2.5 to Any on every service. at the client machine (172.30.2.5, Windows XP) i inserted the default gateway (172.30.0.1) ... nothing happens...  [:(] 

whats wrong? maybe someone will help a little firewalling newbie...      

thanks
Parents Reply Children
  • Under the Network - NAT/Masqerading Section:

    -----
    Packets to Match
    Src: Protected_network   Dst: Any   Svc: Any
    -----
    Change SOURCE to: ::MASQ on 'external interface'::

    This will Masqerade your internal Protected_network on the external firewall interface.  This will replace the internal src address with a publicly reachable address so that destinations have a valid address to respond to...

    Hope this helps!  [:)]
  • hi there, 

    try to remove all rules
    Private Network 172.30.0.0 -> internet / All MASQ__dsl0 None
    All -> Any / All MASQ__dsl0 None
    172.30.2.5 -> internet / All MASQ__eth0 None 
    Private Network 172.30.0.0 -> Any / All MASQ__dsl0

    except of the first one.

    Make sure on all you client pcs behind the firewall have their default gateway set to the firewalls internal interface.

    Add a packetfilter rules Private Network 172.30.0.0 Any Any ACCEPT, activate it and you should be set.

    hope that helps, 
    kind regards

    Polluxxx