-
April 24th, 2003, 08:39 PM
#1
Port Forwarding in Cisco IOS
Does anybody know the command to forward ports in the the Cisco IOS? Thanks.
-
April 24th, 2003, 09:08 PM
#2
Assuming I am understanding you question correctly, if you are using a dynamic assigned address, you will have to do a static NAT translation to the dynamic address. The command below will do that for you:
ip nat inside source static udp 192.168.0.100 2385 interface Dialer1 2385
Just swap the 192.168.0.100 with the address of the machine you are opening up, pick udp or tcp for the type and change the 2385 to the port number that you want to forward.
Just enter the command in the config mode, you don't do it on any interface, just in the root of the config mode. Also, I have assumed that the dialer interface you are using is Dialer1 - change it if you are using another name for the dialer interface.If I am not understanding your question correctly let us know and maybe me or someone else can help, since I do not have much experiance with cisco IOS's.
Don\'t be a bitch! Use Slackware.
-
April 24th, 2003, 09:15 PM
#3
forward ports? port mapping, maybe? Please explain what you are trying to accomplish and maybe we can help you out.... Thanks.
Mankind have a great aversion to intellectual labor; but even supposing knowledge to be easily attainable, more people would be content to be ignorant than would take even a little trouble to acquire it.
- Samuel Johnson
-
April 25th, 2003, 01:06 AM
#4
Junior Member
are you reffering to IP default gateway?
Cisco IOS runs on routers, Cisco CAT OS runs on switches, Switches can forward port traffic, Routers will route it based on destination IP.
Please be more specific as to what you need to accomplish.
Ulter C. Sceadu CCNP
\"Don\'t make your lack of planning my emergency.\"
-
April 25th, 2003, 06:19 AM
#5
I just want to point ports 20-23 to my linux box. Im using a cisco router.
-
April 25th, 2003, 07:35 AM
#6
Good question, I would suggest heading over to http://www.cisco.com/univercd/cc/td/doc/product/ and
bookmarking that site. I have read a large amount of the material there and consider it essential to 'Ubering' up on my
Cisco/Network skills.
Get OpenSolaris http://www.opensolaris.org/
-
April 25th, 2003, 10:25 AM
#7
ip nat inside source static tcp "external IP" 23 "internal IP" 23
ip nat inside source static tcp "external IP" 20 "internal IP" 20
the external ip should be the router ip the internal should be your lunux box
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|