Koozali.org: home of the SME Server

Open port 3784?

preppen

Open port 3784?
« on: September 19, 2006, 11:09:29 AM »
Hi...

I have an ventrilo server (a couple acually) placed in a server within my home network. Im using SME Server 7.0rc2 to handle my local network, routing and the webserver.
There is no problem to use port forwarding to my other computer where my ventrilo server is. But now I need that server to other stuff and thougt I could move the ventrilo servers to my network server.
NO problems to move and start the ventrilo servers... BUT they are not avalible from outside my home network!

why?

Do I have to open port 3784? how do I do that?

would be great to get a quick answer... please help?  :(

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Open port 3784?
« Reply #1 on: September 19, 2006, 11:28:02 AM »
Regards,
William

IF I give advise.. It's only if it was me....

Offline JonB

  • *
  • 351
  • +0/-0
Open port 3784?
« Reply #2 on: September 20, 2006, 07:28:53 AM »
Or just port forward port 3784 to localhost

Jon
...

preppen

Open port 3784?
« Reply #3 on: September 24, 2006, 09:01:54 AM »
william_syd... to much work to do. :roll:

JonB... It works to forward like the way you describe, BUT I still cant see my ventrilo server outside my local network.

I tryed to install Dancguardian and see if it could help me whith my problems, the install went fine and the computer said sucessfully installed. But I dont have link on CP to access Dancguardian. Why?

Im using SME Server 7.0rc2.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Open port 3784?
« Reply #4 on: September 24, 2006, 10:20:18 AM »
Quote from: "preppen"
william_syd... to much work to do. :roll:

JonB... It works to forward like the way you describe, BUT I still cant see my ventrilo server outside my local network.

I tryed to install Dancguardian and see if it could help me whith my problems, the install went fine and the computer said sucessfully installed. But I dont have link on CP to access Dancguardian. Why?

Im using SME Server 7.0rc2.


Quote from: "Developers Manual"
Creating firewall pinholes for your application

Let us say that your service needs to provide a public service on TCP/IP port 4321, which is normally blocked by the firewall rules. All that you need to do is define this to the SME Server

config set myservice service TCPPort 4321 access public status enabled

signal-event remoteaccess-update


Go into Server Manager > Local Networks

Network 0.0.0.0
SubNet Mask 0.0.0.0

Now only your port forwarding rules are protecting you.

How did you install Ventrilo.

Mine works fine here.. MyVent

SME is in Server Only mode though.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Open port 3784?
« Reply #5 on: September 24, 2006, 11:29:19 AM »
How the heck do I delete a message ?
Regards,
William

IF I give advise.. It's only if it was me....

preppen

Open port 3784?
« Reply #6 on: September 24, 2006, 01:59:27 PM »
no... nothing works!!!

http://www.venten.nu/?Vent%26nbsp%3B1 = a port forwading rule to another computer on the network. THIS WORKS!

http://www.venten.nu/?Vent%26nbsp%3B2 = a ventrilo server on the network server running on localhost. THIS DOESN'T!!!

etc/rc.d/init.d/masq looks like this after opening ports.
Code: [Select]
   # ventrilo2: TCPPort 3786, AllowHosts: 0.0.0.0/0, DenyHosts:
    /sbin/iptables -A $NEW_InboundTCP --proto tcp --dport 3786 \
--destination $OUTERNET --src 0.0.0.0/0 --jump ACCEPT
    /sbin/iptables -A $NEW_InboundTCP --proto tcp --dport 3786 \
--destination $OUTERNET --jump denylog

Code: [Select]
   /sbin/iptables --table nat --append PortForwarding_$$ --protocol tcp \
         --destination-port 3786 -j DNAT --to-destination 83.227.219.3:3786
    adjust_tcp_in 3786 ACCEPT InboundTCP_$$


I don't know what to do now?

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Open port 3784?
« Reply #7 on: September 24, 2006, 02:18:14 PM »
Whats with the 3786 ?

Oh... Your running the older version.

What does
Code: [Select]
iptables -L | grep 3786
display?

Quote from: "William_Syd"
Go into Server Manager > Local Networks

Network 0.0.0.0
SubNet Mask 0.0.0.0

Now only your port forwarding rules are protecting you.


At the moment, doing the above is the only thing that opens Ventrilo to the 'net for me.
Regards,
William

IF I give advise.. It's only if it was me....

preppen

Open port 3784?
« Reply #8 on: September 24, 2006, 03:58:12 PM »
It display this...

ACCEPT     tcp  --  anywhere             ua-83-227-219-3.cust.bredbandsbolaget.se tcp dpt:3786
denylog    tcp  --  anywhere             ua-83-227-219-3.cust.bredbandsbolaget.se tcp dpt:3786
ACCEPT     tcp  --  anywhere             ua-83-227-219-3.cust.bredbandsbolaget.se tcp dpt:3786
denylog    tcp  --  anywhere             ua-83-227-219-3.cust.bredbandsbolaget.se tcp dpt:3786

I tried to  go into Server Manager > Local Networks

Network 0.0.0.0
SubNet Mask 0.0.0.0

I have
Network 192.168.0.0
SubNet Mask 255.255.255.0
and that can't be changed, I can't add what you wright niether...

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Open port 3784?
« Reply #9 on: September 24, 2006, 04:01:58 PM »
Quote from: "preppen"
It display this...

ACCEPT     tcp  --  anywhere             ua-83-227-219-3.cust.bredbandsbolaget.se tcp dpt:3786
denylog    tcp  --  anywhere             ua-83-227-219-3.cust.bredbandsbolaget.se tcp dpt:3786
ACCEPT     tcp  --  anywhere             ua-83-227-219-3.cust.bredbandsbolaget.se tcp dpt:3786
denylog    tcp  --  anywhere             ua-83-227-219-3.cust.bredbandsbolaget.se tcp dpt:3786

I tried to  go into Server Manager > Local Networks

Network 0.0.0.0
SubNet Mask 0.0.0.0

I have
Network 192.168.0.0
SubNet Mask 255.255.255.0
and that can't be changed, I can't add what you wright niether...


And what makes you think it's not working ? The blank NanoSpy window? I think you need the UDP port to be forwarded for that to work.

You have to put a router ip..  try the ip of your sme.
Regards,
William

IF I give advise.. It's only if it was me....

preppen

Open port 3784?
« Reply #10 on: September 24, 2006, 04:53:36 PM »
well ventrilo work inside my network, but isn't shown outside...

I edited etc/rc.d/init.d/masq and put the ip from my router instead of "public" ip

    /sbin/iptables --table nat --append PortForwarding_$$ --protocol tcp \
         --destination-port 3786 -j DNAT --to-destination 192.168.0.XXX:3786
    adjust_tcp_in 3786 ACCEPT InboundTCP_$$

nothing! I'm out of ideas now... I read the manual and do what it says... !

Does it matter where in what folder I put the ventrilo servers?

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Open port 3784?
« Reply #11 on: September 25, 2006, 12:56:21 AM »
etc/rc.d/init.d/masqetc/rc.d/init.d/masq has a warning at the top not to change it.

When I connect to your Ventrilo server I get a protocol error. This is because I'm using a newer client. This shows that people on the 'net can connect.

Status information uses UDP. What ever you opened for TCP also open for UDP.

EDIT: Just installed old client and CANNOT connect. Interesting.

You put your router IP in the Local Network page of ServerManager.



And the result something like this...

Regards,
William

IF I give advise.. It's only if it was me....

preppen

Open port 3784?
« Reply #12 on: September 25, 2006, 03:59:58 PM »
When I add local network like you describe, my internet connection disapers!

I have 5 computers att home, 2 kids and 1 wife playing World of Warcraft on their computers... when our internet connections disapears I have 3 angry faces infront of me...  :(  every time I have to restart the network server I getting closer to being lockedout from home.  :shock:  :wink:

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Open port 3784?
« Reply #13 on: September 25, 2006, 04:12:40 PM »
opps sorry... but I'm all out of ideas now. Works on mine bit it is in server only mode.
Regards,
William

IF I give advise.. It's only if it was me....

preppen

Open port 3784?
« Reply #14 on: September 25, 2006, 04:30:43 PM »
thanx for trying... I will do an update of sme first then try again...