Welcome, Guest. Please login or register.
Did you miss your activation email?
Monday 11 November 2024, 03:18:49 am

Login with username, password and session length

Download the latest community FREE version  HERE
14253 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
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 8757 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.031 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com