Eurocardsharing Forum
Satellite TV for PC
Twitter

Go Back   Eurocardsharing Forum > Other Options > Port Forwarding

Reply
 
Thread Tools Display Modes
Modem / router port remains closed
Old
  (#1)

Focus1
Junior Member
 
Focus1's Avatar
 
Offline
Posts: 17

Level: 2 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 46
Magic: 5 / 101
Experience: 86%

Thanks: 1
Thanked 0 Times in 0 Posts
Join Date: Jun 2009
Modem / router port remains closed - 23-June-2009, 00:22



Dreambox 800 HD PVR
Stab HH100 & Triax TDS 78 (45°E-45°W)
CCcam 2.1.2

   
Reply With Quote
Sponsored Links
www.satshop.tv
Old
  (#2)

Markoni
Senior Member
 
Markoni's Avatar
 
Offline
Posts: 474

Level: 20 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 478
Magic: 158 / 3687
Experience: 15%

Thanks: 37
Thanked 220 Times in 119 Posts
Join Date: Aug 2007
23-June-2009, 01:44


Last edited by Markoni; 23-June-2009 at 02:29.

   
Reply With Quote
Old
  (#3)

Focus1
Junior Member
 
Focus1's Avatar
 
Offline
Posts: 17

Level: 2 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 46
Magic: 5 / 101
Experience: 86%

Thanks: 1
Thanked 0 Times in 0 Posts
Join Date: Jun 2009
23-June-2009, 23:20


Hi,

The Zyxel modem has dsl, internet and 2 unused voip ports. The internet port is connected to the router. The router has 4 (ethernet?) ports. PC and Dreambox are connected to the router. Wireless is off. DHCP is off. I set the "local IP addresses" in the router. Router is xx.x.x.1, PC is #2 and Dreambox #3.

If I understand you correctly I have to forward port 12000 in two steps.
Step 1. From modem to router.
Step 2. From router to Dreambox.
I'm confused which IP addresses to enter at both steps. Maybe you can clarify a bit.

I checked the status of the port through [Only Registered Users Can See LinksClick Here To Register], among others.

As requested I mention the results from ifconfig and ipconfig below.

Ifconfig –a (from Dreambox)

eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:xxx.xxx.xx.xxx Bcast:xxx.xxx.xxx.xxx Mask:xxx.xxx.x.x
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30136 errors:0 dropped:0 overruns:0 frame:0
TX packets:29098 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14219324 (13.5 MiB) TX bytes:2198989 (2.0 MiB)
Interrupt:16

lo Link encap:Local Loopback
inet addr:xxx.x.x.x Mask:xxx.x.x.x
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:352 (352.0 B) TX bytes:352 (352.0 B)


Ipconfig /all (from pc)

Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

Windows IP-configuratie

Host-naam . . . . . . . . . . . .: xxxxxxx
Primair DNS-achtervoegsel. . . . .:
Knooppunttype: . . . . . . . . . .: onbekend
IP-routering ingeschakeld. . . . .: nee
WINS-proxy ingeschakeld . . . . . : nee

Ethernet-adapter LAN-verbinding:

Verbindingsspec. DNS-achtervoegsel:
Beschrijving . . . . . . . . . . .:
SiS 900-Based PCI Fast Ethernet Adapter
Fysiek adres. . . . . . . . . . . : xx-xx-xx-xx-xx-xx
DHCP ingeschakeld:. . . . . . . . : nee
IP-adres. . . . . . . . . . . . . : xx.x.x.x
Subnetmasker. . . . . . . . . . . : xxx.xxx.xxx.x
Standaardgateway. . . . . . . . . : xx.x.x.x
DNS-servers . . . . . . . . . . . : xx.x.x.x

Thanks.


Dreambox 800 HD PVR
Stab HH100 & Triax TDS 78 (45°E-45°W)
CCcam 2.1.2

   
Reply With Quote
Old
  (#4)

Markoni
Senior Member
 
Markoni's Avatar
 
Offline
Posts: 474

Level: 20 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 478
Magic: 158 / 3687
Experience: 15%

Thanks: 37
Thanked 220 Times in 119 Posts
Join Date: Aug 2007
24-June-2009, 00:41


Quote:
Originally Posted by Focus1 [Only Registered Users Can See LinksClick Here To Register]
Hi,

The Zyxel modem has dsl, internet and 2 unused voip ports. The internet port is connected to the router. The router has 4 (ethernet?) ports. PC and Dreambox are connected to the router. Wireless is off. DHCP is off. I set the "local IP addresses" in the router. Router is xx.x.x.1, PC is #2 and Dreambox #3.

If I understand you correctly I have to forward port 12000 in two steps.
Step 1. From modem to router.
Step 2. From router to Dreambox.
I'm confused which IP addresses to enter at both steps. Maybe you can clarify a bit.

I checked the status of the port through [Only Registered Users Can See LinksClick Here To Register], among others.

As requested I mention the results from ifconfig and ipconfig below.
Thanks for including the ipconfig and ifconfig.

Actually what I was trying to establish was whether all of these devices were on the same network. What are called "private" addresses really don't need to be x'ed out and kept private. "Public" addresses are the ones it is best not to post.

But it seems as if all of these devices are visible to each other, so I guess that is enough.

Your Zyxel modem is capable of forwarding. If wireless is off, I'm not sure why the Netgear is there at all. I'm also not sure what the IP address is for the Zyxel - if it is the same as for the Netgear, there will be a conflict.

Given your setup, without trying to remove or change anything around physically, keep everything the same except to forward the Zyxel to xx.x.x.1 (the Netgear) rather than xx.x.x.3. From what you said earlier, the Netgear is set up properly to forward incoming 12000 to the Dreambox on port 12000.

The CCcam server on 12000 in the Dreambox has to be running to accept connections and to be "seen". You have said you can connect to your friends with your Dreambox, so nothing is blocking outgoing connections.

If this does not work, you should look first to the Zyxel to make sure its firewall settings do not stop forwarding, then to the Netgear for the same check.

Again, from what you have said, the Netgear really does not have to be there and my inclination would be to remove it if changing the forwarding address and checking any firewalls does not solve your problem.

-------------------------

Please check this link:

[Only Registered Users Can See LinksClick Here To Register]

or Google search for Double NAT. This is what you normally wish to avoid. If you must have this sort of physical set up, follow the suggestion for placing the first of the routers in bridge mode, making certain it connects to nothing on your LAN except the second router. This is really just a way of removing the first router without physically unhooking it from your network.

Last edited by Markoni; 24-June-2009 at 09:31.

   
Reply With Quote
Old
  (#5)

Focus1
Junior Member
 
Focus1's Avatar
 
Offline
Posts: 17

Level: 2 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 46
Magic: 5 / 101
Experience: 86%

Thanks: 1
Thanked 0 Times in 0 Posts
Join Date: Jun 2009
24-June-2009, 23:12


Hi,

As to the Netgear router, the PC and Dreambox are plugged into it because the Zyxel modem simply has no (ethernet?) ports to plug them in directly.

I changed the forwarding address in the modem to the IP address of the router. Port 12000 still remains closed.

As you proposed I had a closer look at the firewall in the modem. I briefly inactivated the firewall in the modem to see what happens. It results in port 12000 being open. I activated the firewall again and added a line to the rules of the firewall:

Packet direction: WAN to LAN
Source IP: any
Destination: <IP address router>
Service: Any(UDP)
Action: Permit

This results in port 12000 being open and (at least) 1 client connected.

Two new questions occur to me:
1. Could you please comment if the additional line I added in the firewall of the modem is safe? Is there a "security hazard" in doing so?
2. At "Service" one can choose Any(UDP) or Any(TCP). Does it matter? (I chose Any(UDP)).

Thanks.


Dreambox 800 HD PVR
Stab HH100 & Triax TDS 78 (45°E-45°W)
CCcam 2.1.2

Last edited by Focus1; 24-June-2009 at 23:20. Reason: Additional information: packet direction added

   
Reply With Quote
Old
  (#6)

ivanovh
Super Moderator
 
ivanovh's Avatar
 
Offline
Posts: 6,943

Level: 57 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 850 / 1417
Magic: 2314 / 13893
Experience: 69%

Thanks: 872
Thanked 2,633 Times in 1,109 Posts
Join Date: Nov 2006
Location: Eindhoven
Age: 46
24-June-2009, 23:17


Quote:
Originally Posted by Focus1 [Only Registered Users Can See LinksClick Here To Register]
Hi,

As to the Netgear router, the PC and Dreambox are plugged into it because the Zyxel modem simply has no (ethernet?) ports to plug them in directly.

I changed the forwarding address in the modem to the IP address of the router. Port 12000 still remains closed.

As you proposed I had a closer look at the firewall in the modem. I briefly inactivated the firewall in the modem to see what happens. It results in port 12000 being open. I activated the firewall again and added a line to the rules of the firewall:

Source IP: any
Destination: <IP address router>
Service: Any(UDP)
Action: Permit

This results in port 12000 being open and (at least) 1 client connected.

Two new questions occur to me:
1. Could you please comment if the additional line I added in the firewall of the modem is safe? Is there a "security hazard" in doing so?
2. At "Service" one can choose Any(UDP) or Any(TCP). Does it matter? (I chose Any(UDP)).

Thanks.
Use any TCP. There is always a hazard opening a port.






---------------------------------------------------
Dreambox 8000 HD PVR
Dreambox 7020si
Dual Xeon 3.4Ghz Cardserver in Raid 5 , Debian 5.1, CCcam 2.1.4
Moteck 2100A


Loewe Individual Compose 40"

Iphone 3G S 32Gb [3.1.3]

---------------------------------------------------
If you are happy with the reply,
show your appreciation press "thanks", dont be shy!

   
Reply With Quote
Old
  (#7)

Focus1
Junior Member
 
Focus1's Avatar
 
Offline
Posts: 17

Level: 2 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 46
Magic: 5 / 101
Experience: 86%

Thanks: 1
Thanked 0 Times in 0 Posts
Join Date: Jun 2009
24-June-2009, 23:41


Service set to Any(TCP).


Dreambox 800 HD PVR
Stab HH100 & Triax TDS 78 (45°E-45°W)
CCcam 2.1.2

   
Reply With Quote
Old
  (#8)

Markoni
Senior Member
 
Markoni's Avatar
 
Offline
Posts: 474

Level: 20 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 478
Magic: 158 / 3687
Experience: 15%

Thanks: 37
Thanked 220 Times in 119 Posts
Join Date: Aug 2007
25-June-2009, 00:03


Quote:
Originally Posted by Focus1 [Only Registered Users Can See LinksClick Here To Register]
Hi,

As to the Netgear router, the PC and Dreambox are plugged into it because the Zyxel modem simply has no (ethernet?) ports to plug them in directly.
OK. I understand now. You just don't have enough physical plugs in the Zyxel modem, so you're trying to use the Netgear more as a [Only Registered Users Can See LinksClick Here To Register] than anything.


Quote:
Originally Posted by Focus1 [Only Registered Users Can See LinksClick Here To Register]
I changed the forwarding address in the modem to the IP address of the router. Port 12000 still remains closed.

As you proposed I had a closer look at the firewall in the modem. I briefly inactivated the firewall in the modem to see what happens. It results in port 12000 being open. I activated the firewall again and added a line to the rules of the firewall:

Packet direction: WAN to LAN
Source IP: any
Destination: <IP address router>
Service: Any(UDP)
Action: Permit

This results in port 12000 being open and (at least) 1 client connected.
So, the firewall was a problem. As people have said, it is TCP rather than UDP you need for cardsh!aring. I would be a bit concerned that you have even one client connected. CCcam uses TCP. As far as I know, UDP alone will not work for CCcam. Someone will correct me if this is wrong.

Quote:
Originally Posted by Focus1 [Only Registered Users Can See LinksClick Here To Register]

Two new questions occur to me:
1. Could you please comment if the additional line I added in the firewall of the modem is safe? Is there a "security hazard" in doing so?
It doesn't sound absolutely safe. There is always a danger opening ports, as someone has said, but your single rule is causing unexpected (for me) results. You should check if that is really the only rule in force.

Quote:
Originally Posted by Focus1 [Only Registered Users Can See LinksClick Here To Register]

2. At "Service" one can choose Any(UDP) or Any(TCP). Does it matter? (I chose Any(UDP)).
TCP alone will do it. Again, I don't think UDP alone should work.

Quote:
Originally Posted by Focus1 [Only Registered Users Can See LinksClick Here To Register]
Thanks.
No problem.

As you've seen, this type of setup is quite complicated and difficult to make work properly.

What someone would ordinarily do, would be either to:

1.) Use the router as the modem, but this is not an option for you, because that model has no A/DSL.

2.) Bridge the Zyxel to your Netgear router.
This will make things much simpler. You will have only the Netgear firewall and port-forwarding to worry about, and will not have to worry about possibly inconsistent rules.

Please post back and let us know what you decided and how things are working!

------------------

You could also try disabling NAT in the Netgear router, if this setting is easily changed. That should make the Netgear behave like the hub you are trying to use it for now. You might not want to do this, though. At some point, you might decide having wireless is something you do want.

Last edited by Markoni; 25-June-2009 at 00:20.

   
Reply With Quote
Old
  (#9)

boknoy_ph
Super Moderator
 
boknoy_ph's Avatar
 
Offline
Posts: 1,367

Level: 31 [♥ Bé-Yêu ♥]
Life: 154 / 770
Magic: 455 / 3633
Experience: 83%

Thanks: 59
Thanked 413 Times in 305 Posts
Join Date: Aug 2008
Location: C:\Recyle Bin
25-June-2009, 11:51


setup your router and modem in bridge mode, as suggested above. let your netgear act as a dumb hub. disable all firewalls at this point. forward the port to the IP of your dreambox. save and test again.


HP-Compaq DC5000 MT 1.5GB RAM
Debian Squeeze with Smargos
CCcam 2.1.3

   
Reply With Quote
Old
  (#10)

Focus1
Junior Member
 
Focus1's Avatar
 
Offline
Posts: 17

Level: 2 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 46
Magic: 5 / 101
Experience: 86%

Thanks: 1
Thanked 0 Times in 0 Posts
Join Date: Jun 2009
25-June-2009, 19:28


Hi,

As suggested I tested the modem at bridge mode. There was no problem with port 12000. However, I noticed a few (minor) things:
- I received a new IP address.
- The "line speed" dropped 20% at the first test. At the second test it was back to normal. [Only Registered Users Can See LinksClick Here To Register]
- The "internet light" at the modem is off.
- I could no longer access the web configurator of the modem. I had to reset the modem to the factory settings to switch back to "Router mode".

Again, I forwarded port 12000 to the router and added the above mentioned rule to the firewall:

Packet direction: WAN to LAN
Source IP: any
Destination: <IP address router>
Service: Any(TCP)
Action: Permit

I think adding this rule is more or less the same as bridging all traffic to the router. Correct me if I'm wrong. FYI, there's one more line in the firewall rules:

Packet direction: WAN to LAN
Source IP: any
Destination: <xxx.x.x.x - xxx.x.x.x>
Service: Multicast (IGMP:0)
Action: Permit

This is the #1 line. The line I added is #2. I don't know what #1 is for, but it came with the factory settings after the reset and it was there before.

As some of you mentioned already there's a risk in opening ports. I think all (TCP-) traffic through port 12000 ends up at my Dreambox. I guess that goes for all Dreamboxes, not just mine. Maybe it's unnecessary but it raises concerns with me. Was the risk of opening ports ever discussed? (OK, I could use the search-button).

Since the current configuration is working fine I will keep it as it is, at least for now.

Thanks to all of you.


Dreambox 800 HD PVR
Stab HH100 & Triax TDS 78 (45°E-45°W)
CCcam 2.1.2

   
Reply With Quote
Reply

Tags
closed, modem, port, remains, router


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Port 8080 closed srood123 Port Forwarding 12 24-May-2009 19:46
port stuck closed! chipper36 Port Forwarding 10 31-January-2009 12:24
thomson speedtouch st modem/router petersat55 Port Forwarding 4 27-November-2008 19:14
Port open (Modem and Router) escatec Port Forwarding 1 15-May-2008 16:48





Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.