Hi,
I was trying to DNAT as usually (pass-through external client request to 
internal server) but shorewall does not compile..
/etc/shorewall/rules :
#ACTION  SOURCE  DEST                        PROTO   DPORT   SPORT   ORIGDEST  
DNAT        net            loc:10.3.88.71:22       tcp           2201          
-            99.1.1.1 

99.1.1.1   is the firewall eth0 (net)  interface10.3.88.71 is the internal 
server       
# shorewall restart
iptables-restore: line 36 failed
   ERROR: iptables-restore Failed. Input is in 
/var/lib/shorewall/.iptables-restore-input
/var/lib/shorewall/.iptables-restore-input :*nat
:PREROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A PREROUTING -i eth0 -p 6 --dport 2201 -d 99.1.1.1 -j DNAT --to-destination 
10.3.88.71:22
COMMIT


please help
sincerelydino muzic
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to