[Firehol-support] DNAT with port redirection.

Costa Tsaousis costa at tsaousis.gr
Wed Nov 3 20:21:27 CET 2004


Hi Grigory,

dnat is one thing, packet filtering is another. Does the firewall (i.e. a
route or server statement in a router definition) allow the ssh service to
192.168.0.111?

Costa


> Hello!
>
> Can you help me with DNAT and port redirection?
> I have to servers MAIN and SECOND. MAIN real IP 81.18... and interface
> eth1 and I can enter ssh 81.18... But to the SECOND server have lan IP
> 192.168.0.111 and i want to enter on it through not standart port
>
> dnat to 192.168.0.111:22 inface eth1 dst ${MAIN_IP} proto tcp dport
> 33333
>
> but I can not enter ssh 81.18... -p 33333. Why?
>
> --
> ÷ÓÅÇÏ ÎÁÉÌÕÞÛÅÇÏ!
> greg at anastasia.ru ç�ÉÇÏ�ÉÊ.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
> _______________________________________________
> Firehol-support mailing list
> Firehol-support at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/firehol-support
>






More information about the Firehol-support mailing list