LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-05-2005, 05:01 PM   #1
snip128
Member
 
Registered: Jan 2004
Location: Delaware
Distribution: gentoo
Posts: 96

Rep: Reputation: 15
port forwarding? not working?...


my server is running debian linux, and i want to forward a port to a pc on my local network so i can host a game. i tried using redir and rinetd, but neither of the work..well...i think they might actually forward the port, but the game still doesn't. i used

Code:
redir --lport=23400 --cport=23400 --caddr=192.168.1.106 --laddr=68.34.230.12

rinetd 0.0.0.0 23400 192.168.1.106 23400
as i said, the game still doesnt work, but my friends can forward that port with their routers, and it works for them...they select "both" ofr the protocols (TCP and UDP)....any ideas? (yes, im sure the only port is 23400...)
 
Old 10-07-2005, 09:49 AM   #2
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
So you are using your pc as the router? Then you are probably running IPTABLES (service iptables status)? What you are asking about is NAT or IP masquerade. I would read ...

http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html

Hope this is helpful
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPtables port-forwarding not working. Ratclaws Linux - Networking 3 04-12-2005 08:14 AM
iptables port forwarding not working! friendklay Linux - Networking 1 03-23-2005 06:37 AM
Port forwarding to RH 9.0 machine not working Jeeves79 Linux - Networking 3 05-29-2004 03:11 PM
port forwarding NOT working :( Avatar Linux - Networking 19 04-23-2004 01:53 AM
Port forwarding with iptables is not working?!! philipina Linux - Networking 1 04-03-2004 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration