On Wed, May 6, 2009 at 1:54 PM, Michael <[email protected]> wrote: > > If I have a connection arriving on Port X from IPaddr A.B.C.D can I forward it > to port 80X? > > Or to be a bit less abstract: > > If I have a client connecting to port 22 on my server, say from 10.18.18.4 > can I use IPtables to sent that connection to Port 8022 on the same box?
iptables -t nat -A PREROUTING -p tcp -s 10.18.18.4 --dport 22 -j REDIRECT --to-port 8022 Something like that, anyways. -- Dan Young _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
