Welcome, Guest. Please login or register.
Did you miss your activation email?
Tuesday 24 December 2024, 02:19:11 am

Login with username, password and session length

Visit the Official Endian Bug tracker  HERE
14262 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  no default NAT setup
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: no default NAT setup  (Read 9343 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 17 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com