Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP, IRC and Webcam Broadcasts using the 801

Status
Not open for further replies.

CtJackal

Technical User
Jul 13, 2002
9
GB
Hi all. Just a quick query.
My 801 is now working sweet but I have few niggles.
FTP servers, I can't host one. I used to use ServU but it doesn't work thru the router.
IRC DCC's, the same, can't send files thru the router even tho I have set everything up as it should be, everything else works on IRC, just no DCC send.
My webcam software, doesn't work. I use a small webcam broadcast program that hosts the webpage on my PC but it doesn't work thru the router.
Netmeeting, doesn't work. I have friends at home in Scotland I used to keep in contact with using NM but the router won't have it.

I suspect all of these problems boil down to the same issue.
I have read a faq on the IRC trouble that states I have to use UDP fowarding to my LAN IP address from my router. I need to forward all traffic for the DC ports (I've limited them to 1024-1028) to my static IP seemingly. But I dunno how to do UDP forwarding on the 801 or even if it's capable of it :(
If someone can help with this I can then go on to forward all the other UDP ports that are causing me grief.
Many thanks in advance.
 
D'OH! I meant TCP ports (I wish I wasn't such a no brainer sometimes). Also I get a dynamic IP for the internet thru EasyIP, it's only my lan IP's that are static. That's gotta be important :)
 
Ok well thanks for your help anyway guys :/
I have trawled thru websites, search engines and forums for 3 days and managed to answer my own question. I tried putting it into a FAQ but the forum software is playing up so I'll post it here.

Most peer to peer sends (IRC DCC, WinMX, Kazaa), locally hosted web services (Webcam software, FTP servers) and some games (UT2003, Q3 engine hosted games) rely on port mapping on the Cisco router to make connections to remote clients.
Port mapping on Proxy servers and other routers is a piece of cake, usually taken care of via a HTTP front end on the router (LinkSys and Netgear) or options in the proxy server (Winproxy, Wingate etc.), doing it in IOS is a shade more difficult (the main problems being the difficulty in finding anything of value on Cisco's site and the fact that most Cisco users already assume you know how it's done). As far as I can gather the following procedure should work on all Cisco routers that use dialer interfaces.

First off, find out what port(s) your application needs. As an example, I wanted to map all incoming traffic on tcp port 8282 to my Webcam software (WCapture). Then make sure the machine you are running the software on has a static IP, don't use DHCP. In my case my machine is on 192.168.0.3
Final step is to insert a line into your Cisco config using hyperterminal or whatever terminal program you normally use. Enter config mode and type in:

ip nat inside source static tcp 192.168.0.3 8282 interface dialer1 8282

This will route all traffic on the dialer (dialer1) on port 8282 to the IP address 192.168.0.3
Substitute your own ports and IP address(es).
That's it, copy your running config to the startup config so you don't lose the settings when you next reboot your router and Bobs your uncle.
By substituting the correct ports you should be able to get all your peer to peer stuff working fine.

I hope this helps some people new to Cisco as I am to overcome this issue, as I know how difficult the learning curve is, and this problem really is bread and butter stuff to other routers and proxy programs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top