[H-GEN] mapping ports using iptables
Bradley Marshall
brad at humbug.org.au
Sun Jun 30 19:20:00 EDT 2002
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
On Sun, Jun 30, 2002 at 08:37:31PM +1000, Robert Brockway wrote:
> It is a viable solution to some problems, I just suggest being careful
> with it. I'll leave it to others to post examples (because there is a hot
> shower with my name on it :)
I'll agree to most of Rob's comments here, and just give you your example.
/sbin/iptables -t nat -A PREROUTING -p tcp -d dest.host --dport 1234 -j DNAT --to redirect.host:2345
Thanks,
Brad
--
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Bradley Marshall | http://www.humbug.org.au/~brad |
| System/Network Admin| brad at humbug.org.au |
| Plugged In Software | bmarshal at pisoftware.com |
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
``I'm not ashamed. Its the computer age. Nerds are in.'' - Willow (BtVS)
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list