Linux Netfilter discussions
 help / color / mirror / Atom feed
* Multiple Port Forwarding
@ 2003-07-10 23:30 Bewerbungsadresse@web.de
  0 siblings, 0 replies; 6+ messages in thread
From: Bewerbungsadresse@web.de @ 2003-07-10 23:30 UTC (permalink / raw)
  To: netfilter

hi guys

sorry for this possibly "bad title"

but i´ve got a question regarding port forwarding and iptables
(i hope this question hasn´t been asked so much *gg)

is it possible to forward one port on the firewall to different clients?

e.g.

Internet -> Request to Firewall Port 4162

Rule: Forward all traffic on port to host:

a) 192.168.0.1:4162
b) 192.168.0.2:4162
c) 192.168.0.3:4162

???????

background: P2P for example should be possible on _all_ clients
it´s really just for information, cause i hate P2P ;)

it would be very kind, if you could help me or give any hints, where i 
can find more information (google is not very helpful in this way)

thx
micha



^ permalink raw reply	[flat|nested] 6+ messages in thread
* Multiple Port Forwarding
@ 2004-08-19 21:27 Scorched
  2004-08-19 22:12 ` Nick Drage
  2004-08-19 23:40 ` Alistair Tonner
  0 siblings, 2 replies; 6+ messages in thread
From: Scorched @ 2004-08-19 21:27 UTC (permalink / raw)
  To: netfilter

I found this group on google looking for how to do multiple port forwarding
(I'm trying to setup so me and a friend can play Starcraft together on the
same connection [with different CD keys though, got two copies of the game..
is all legit])

I have exactly the same problem as this guy, so here's a copy of the thread
I found, that no one ever replied to to help with (I checked) :/

====================
http://lists.netfilter.org/pipermail/netfilter/2003-July/045290.html
====================
hi guys

sorry for this possibly "bad title"

but i´ve got a question regarding port forwarding and iptables
(i hope this question hasn´t been asked so much *gg)

is it possible to forward one port on the firewall to different clients?

e.g.

Internet -> Request to Firewall Port 4162

Rule: Forward all traffic on port to host:

a) 192.168.0.1:4162
b) 192.168.0.2:4162
c) 192.168.0.3:4162

???????

background: P2P for example should be possible on _all_ clients
it´s really just for information, cause i hate P2P ;)

it would be very kind, if you could help me or give any hints, where i
can find more information (google is not very helpful in this way)

thx
micha
=========================

Please can anyone help me? If anyone knows how to do this, it'd be great
I am using a Netgear DG824M router, I have looked in all the settings but I
can't find an option for it, the only thing I am able to do is port forward
and make DMZ.

This is good, but does not let me make Starcraft work for two computers on
the same network, as the DMZ only works for one computer, and so does the
port forwarding. I can't have two DMZ, and if I make a DMZ and a port
forward the port forward takes priority and the DMZ receives no data

Looking forward to any replies..

-Scorched



^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: Multiple Port Forwarding
@ 2004-08-20  0:23 Daniel Chemko
  2004-08-20  7:03 ` Scorched
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Chemko @ 2004-08-20  0:23 UTC (permalink / raw)
  To: Scorched, netfilter

Scorched wrote:
> I found this group on google looking for how to do multiple port
> forwarding (I'm trying to setup so me and a friend can play Starcraft
> together on the same connection [with different CD keys though, got
> two copies of the game.. is all legit])
> 
> I have exactly the same problem as this guy, so here's a copy of the
> thread I found, that no one ever replied to to help with (I checked)
> :/ 

The following article described a way to accomplish it. I'm not sure if
its fresh:
http://www.mplug.org/phpwiki/index.php/NetfilterStarcraft


Me ---------|
            |--- Firewall -- battle.net / Server
My Friend --|

Each user wants to send their source port as 6112, but since only one
guy can have that port, we have to change our source port. Ex.

Outgoing:
ip-me:port-5112 -> dest:5112 >> FW >> ip-fw:port-5112 -> dest:5112
ip-friend:port-5112 -> dest:5112 >> FW >> ip-friend:port-5113 ->
dest:5112

Return:
dest:5112 -> ip-fw:port-5112 >> FW >> dest:5112 -> ip-me:5112
dest:5112 -> ip-fw:port-5113 >> FW >> dest:5112 -> ip-friend:5112

I can't see what's wrong with this picture unless Starcraft uses other
messed up port assignments. If you really want to help us diagnose this,
please run the game and list the ports that the program is using with
the following details:

protocol src_ip src_port dst_ip dst_port

Please do this on the inside interface of the firewall, not the outside.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-08-20  7:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-10 23:30 Multiple Port Forwarding Bewerbungsadresse@web.de
  -- strict thread matches above, loose matches on Subject: below --
2004-08-19 21:27 Scorched
2004-08-19 22:12 ` Nick Drage
2004-08-19 23:40 ` Alistair Tonner
2004-08-20  0:23 Daniel Chemko
2004-08-20  7:03 ` Scorched

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox