Re: IP forwarding?
Jason Lim wrote:
Is there a way to make it so requests for 1.2.3.1 go to 5.6.7.1, and
1.2.3.2 go to 5.6.7.2, so basically map 1.2.3.1-32 to go to
5.6.7.1-32?
You need redir, I think. Ignore the part about IP Masq below, you don't
need it.
Package: redir
Priority: extra
Section: net
Installed-Size: 76
Maintainer: Bernd Eckenfels <ecki@debian.org>
Architecture: i386
Version: 2.1-2.1
Depends: libc6 (>= 2.3.2-1), libwrap0
Filename: pool/main/r/redir/redir_2.1-2.1_i386.deb
Size: 15392
MD5sum: f963a7bb3840b0b0099060bb6ca91359
Description: Redirect TCP connections
It can run under inetd or stand alone (in which case it handles
multiple connections). Its 8 bit clean, not limited to line
mode, is small and light. Supports FTP redirects and supports
transparency support.
.
redir is all you need to redirect traffic across firewalls authenticate
based on an IP address etc etc. No need for the firewall toolkit. The
functionality of inetd/tcpd and "redir" will allow you to do everything
you need without screwy telnet/ftp etc gateways. (I assume you are running
IP Masquerading of course.)
--
Sanjeev "ghane" Gupta
Reply to: