port forwarding

Taking care of your Linux box.

port forwarding

Postby cyph3r » Mon Jun 07, 2010 9:14 pm

fedora 7

eth1 (wan) = 192.168.1.3
eth2 (lan) = 193.1.1.1

mujha port forwarding karni hai

port hai 8291


waiting for your good replies
thanx in advance.
Regards,
Mehmood Ahmed |cyph3r|
(+92)345-2835810
E-mail:cyph3r.07@hotmail.com
cyph3r
Lance Naik
 
Posts: 46
Joined: Tue Jan 22, 2008 1:27 am
WLM: cyph3r.07@hotmail.com

Postby imzee » Tue Jun 15, 2010 12:55 pm

iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 8291 -j DNAT --to-destination xxx.xxx.xxx.xxx:8291

[xxx.xxx.xxx.xxx = Ip address of local machine whre port 8291 running
Imtiaz Mustafa
CCENT, CCNA, JNCIA
Cell : +923452828799
e-mail : imtiazmustafa@hotmail.com
imzee
Lance Naik
 
Posts: 17
Joined: Fri Sep 14, 2007 2:30 pm
WLM: imtiazmustafa@hotmail.com
Location: Saddar


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 2 guests

cron