Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: sm@rt on August 05, 2003, 07:12:55 AM

Title: Joing two networks again...
Post by: sm@rt on August 05, 2003, 07:12:55 AM
After installing the suggested Freeswan from a previous thread i started, i am still not sure how to set this up.

I have 2 offices, Office 1 has a Dlink 504 Router and an SME 5.1.2 server & gateway, Office 2 just has one pc and a Dlink 504 router.

I would like get access to the sme (file server) from office 2 as if i were in office 1's local network.

I have setup several passworded ibays to store files, but that i do not want to access these files by ftp, but rather as a member of the network.

Can Freeswan do this for me, if so how.

Thanks
sm@rt
Title: Re: Joing two networks again...
Post by: Michael Smith on August 05, 2003, 07:04:35 PM
FreeS/WAN is designed to set up a permanent VPN joining two LANs.  What you want is a PPtP VPN connection, suitable for one computer to connect to a SME server.  If you're not using your SME box as a router, you'll need to do some portforwarding on your DLink to pass the PPtP packets to the SME box.  (Mitel would strongly advise that you upgrade that box to close some security holes.)
Title: Re: Joing two networks again...
Post by: sm@rt on August 05, 2003, 08:20:00 PM
many thanks, i will give this a try.

I have also been experiencing some problems in trying to gain access to the remote admin server manager which i have enabled. I have forwarded the port 980 on the dlink router to 980 on the SME box, but i dont know how to access it, or it is not working.

http://www.mydomain.com/servermanager - works locally
http://www.mydomain.com:980 - does not work remotley

Any ideas Michael
Title: Re: Joing two networks again...
Post by: Steve Bush on August 06, 2003, 05:28:14 AM
It should work if you VPN into the box with PPTP.
You might try using the internal IP address instead of mydomain.com/
http://10.1.1.1/server-manager
Title: Re: Joing two networks again...
Post by: sm@rt on August 07, 2003, 09:33:06 PM
Thanks Steve!

Still having problems though, i know its not difficult, just me being a newbie to linux, and VPN.

I have two offices, both with Dlink DSL 504 Routers and my main office has an SME 5.1.2 server \ gateway.

Both offices have static ip broadband connections.

Having installed the Freeswan rpm as suggested to me previously, i can now see new server-manager panels, but not sure what to do next.

I have tried a few times, to create a VPN channel, entering in my remote routers static ip address etc.... and i have configured a new connection in my second office on a winxp pc.

HELP!

sm@rt
Title: Re: Joing two networks again...
Post by: Steve Bush on August 07, 2003, 10:25:27 PM
You don't need freeswan.  It is for connecting multiple SME servers together.
You just need to go into server-manager and enable 1 or more pptp connections.

Then you need an internet accessible IP address on your sme server.

Good luck
Title: Re: Joing two networks again...
Post by: sm@rt on August 07, 2003, 10:43:06 PM
I have removed the entry i had setup for a Freeswan VPN connection and have now entered 1 into Number of PPTP clients in Remote Access panel.

Do i have to do anything else on the SME, and what do i now do on the remote XP pc.

thanks Steve

sm@rt
Title: Re: Joing two networks again...
Post by: sm@rt on August 07, 2003, 11:12:27 PM
I have now created a PPTP connection on my WinXP client, but it will not connect.

Could it be the DSL 504 router in the main office that's blocking this?

thanks!
sm@rt
Title: Re: Joing two networks again...
Post by: Steve Bush on August 07, 2003, 11:34:10 PM
You need to make sure that the IP address on your external network card in your server is accessable from the internet.
Title: Re: Joing two networks again...
Post by: sm@rt on August 08, 2003, 12:39:32 AM
it is, because i can use all the normal SME services, FTP, ibays etc...

So if the sme is setup correctly to allow 1 pptp client, and my remote winxp client has a pptp vpn connection, does that only leave the routers?

many thanks Steve, i have goto get this sorted, i am having to ftp in for everything i want, then remember to put it all back before i leave the remote office.

sm@rt