Astaro 3.2 with all updates applied. I am forwarding http to an internal server, no problem very nice and easy. I want to forward SSH to the same server but am unable, set it up the same as the HTTP with no luck. Tried the settings from the current post: http://www.astaro.org/ubb/ultimatebb.php?ubb=get_topic;f=6;t=001078 from rob fegley
Topic: SSH port-forwarding (DNAT) to internal/DMZ host
And all that happened is it killed all SSH access and I had to change it back at the terminal.
Tried the changes from this post: http://www.astaro.org/ubb/Forum3/HTML/000100.html
Topic: Port Forwarding?
With no luck (times out), what I have in the filter Live logs (iptables) is the following:
under Packet Filter:
Chain USR_FORWARD (1 references)
pkts bytes target prot opt in out source destination
1 48 ACCEPT tcp -- * * 0.0.0.0/0 192.168.2.5 tcp spts:1024:65535 dpt:22
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:65535 dpt:80
Under Nat Rules:
Chain AUTO_NAT_OUT (1 references)
pkts bytes target prot opt in out source destination
0 0 DNAT tcp -- * * 0.0.0.0/0 142.xxx.xxx.xxx tcp spts:1024:65535 dpt:80 to:192.168.2.5
0 0 DNAT tcp -- * * 0.0.0.0/0 142.xxx.xxx.xxx tcp spts:1024:65535 dpt:22 to:192.168.2.5:22
Chain AUTO_NAT_POST (1 references)
pkts bytes target prot opt in out source destination
0 0 MASQUERADE all -- * eth2 192.168.2.0/24 0.0.0.0/0
Chain AUTO_NAT_PRE (1 references)
pkts bytes target prot opt in out source destination
0 0 DNAT tcp -- * * 0.0.0.0/0 142.xxx.xxx.xxx tcp spts:1024:65535 dpt:80 to:192.168.2.5
1 48 DNAT tcp -- * * 0.0.0.0/0 142.xxx.xxx.xxx tcp spts:1024:65535 dpt:22 to:192.168.2.5:22
I could not get this command from Markus to run: please copy with scp tcpdump loginuser@YOUR_FIREWALL_IP:/tmp
I have masq set up from the local network to the external interface and it only works sporadically through win boxes, although my HTTP server seems to have no problem (in case this is somehow relevant).
Hoping someone can help me to get this working as it is quite critical, next comes FTP and I have seen some postings on issues with that as well.
This thread was automatically locked due to age.