On 09/22/2012 03:22 AM, muiz wrote: > Dear support and users: > Sorry to trouble you! I configure the shorewall firewall to forward > ftp and ssh port to another server, but failed. Can you help me check? > I cannot login both SSH 2222 and ftp! > Below is my environment: (attachment is shorewall dump)
Muiz,
It appears that the SSH and FTP connection requests aren't reaching your
firewall. From the dump:
Chain net_dnat (1 references)
pkts bytes target prot opt in out source
destination
0 0 DNAT tcp -- * * 0.0.0.0/0
0.0.0.0/0 tcp dpt:21 to:192.168.1.231
0 0 DNAT udp -- * * 0.0.0.0/0
0.0.0.0/0 udp dpt:20 to:192.168.1.231
0 0 DNAT tcp -- * * 0.0.0.0/0
0.0.0.0/0 tcp dpt:2222 to:192.168.1.231:22
Please refer to the Port Forwarding troubleshooting tips described in
Shorewall FAQs 1a and 1b.
Thanks,
-Tom
--
Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
