LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Ip forwarding and iptables

[ILUG] Ip forwarding and iptables

Simon Dickson simon at dicksonent.com
Thu Jun 27 07:38:35 IST 2002


this is how I forward port 81 to port 80 on another machine

iptables -t nat -A PREROUTING -p tcp --dport 81 -j DNAT --to 192.168.0.15:80

Have fun.

Simon

On Thu, 27 Jun 2002 08:46, cout at eircom.net wrote:

<very snip>

> Righteo I need to figure out how to forward port 25 to 10.0.0.2 from eth1
> call eth1's ip 192.168.0.1 for argument's sake and eth0's 10.0.0.33.
>
> Can someone please tell me how the the hell I do this?
> Brian

-- 
Dickson Computer Services
phone/fax (07) 55949328
mobile    0412 268 975
e-mail     simon at dicksonent.com
public key http://simon.dicksonent.com/signature.html




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell