Welcome, Guest. Please login or register.
Did you miss your activation email?
Sunday 12 May 2024, 09:14:08 am

Login with username, password and session length

Visit the official Endian Community Mailinglist  HERE
14247 Posts in 4376 Topics by 6495 Members
Latest Member: mrwar70
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  no default NAT setup
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: no default NAT setup  (Read 6206 times)
gkos
Jr. Member
*
Offline Offline

Posts: 8


« on: Tuesday 22 February 2011, 01:06:09 am »

I am planning to set up the efw in the firewaling router  mode, for one of the subnet behind the firewall. so I I only need NAT for some network range.

By default the following rule is applied to all outgoing connection on eth1 interface, so all the traffic falls into this category.

Chain SOURCENAT (1 references)
 pkts bytes target     prot opt in     out     source               destination         
 1011 66818 SNAT       all  --  *      eth1    0.0.0.0/0            0.0.0.0/0           to:...


is there a switch or something, that will disable this rule, leaving the decision on what needs to be NATed/notNATed to me.
I can always delete the rule manually, but it wouldn't be convenient really.

any ideas?
Logged
gkos
Jr. Member
*
Offline Offline

Posts: 8


« Reply #1 on: Tuesday 22 February 2011, 01:54:08 am »

found solution,

in file
/etc/firewall/snat/outgoingnat.conf

change
on,,,,,UPLINK:ANY,SNAT,standard uplink SNAT,off,

to
off,,,,,UPLINK:ANY,SNAT,standard uplink SNAT,off,
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.047 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com