Koozali.org: home of the SME Server

Port Forwarding Utility

Dave

Port Forwarding Utility
« on: June 21, 2002, 09:02:11 PM »
I've installed the port forwarding utility, and am just looking for some clarification.

I've set it as following, but it is probably incorrect:

Protocal: TCP
External Port #: 1723  (PPTP VPN)
Destination IP: 192.168.1.1 (internal address of network router)
Destination Port #: 1723

Protocal: UDP
External Port #: 47  
Destination IP: 192.168.1.1 (internal address of network router)
Destination Port #: 47

The server is running in server-only mode behind the router.  My ISP has set it up so traffic is passed to the server through the router from the internet IP address.

Anyway, does this configuration look right?  What exactly defines external and destination ports?

Thanks in advance...

PKidd

Re: Port Forwarding Utility
« Reply #1 on: June 22, 2002, 01:24:53 AM »
I believe that's Protocol 47 or GRE not port 47

Franck

Re: Port Forwarding Utility
« Reply #2 on: June 24, 2002, 12:10:08 PM »
Dave wrote:
> Protocal: UDP
> External Port #: 47  
> Destination IP: 192.168.1.1 (internal address of network
> router)
> Destination Port #: 47
PPTP VPN does not use UDP protocol, but GRE (protocol number 47, that's not a port number : GRE does not use ports)

... and you cannot forward other protocols than TCP and UDP using the port forwarding panel.

Dave

Re: Port Forwarding Utility
« Reply #3 on: June 24, 2002, 06:04:47 PM »
Thanks for that.  But the port 47 thing aside, am I doing the right thing to open up the port on the server?

Dave

Re: Port Forwarding Utility
« Reply #4 on: June 24, 2002, 09:14:15 PM »
All else aside, does this configuration make sense?

Protocal: TCP
External Port #: 1723 (PPTP VPN)
Destination IP: 192.168.1.1 (internal address of network router)
Destination Port #: 1723


Could somebody maybe explain in layman's terms what each setting actually is?

Thanks in advance...

Abe Loveless

Re: Port Forwarding Utility
« Reply #5 on: June 26, 2002, 07:08:56 PM »
I was under the impression that the Port Forwarding panel forwarded specific ports on the external interface of the SME server to an IP/Port off of the internal interface.

If this is the case, you'll have to be in Server & Gateway Mode.

The best example of this would be if you wanted to forward Port 80 (Web) of your SME server to an internal web-server.  In this case, your config would look like:

Protocal: TCP
External Port #: 80
Destination IP: 192.168.1.10 (address of internal server)
Destination Port #: 80  (Or whatever port your internal web server is using.)

Does that help?

Abe