|
|
 |
IPCop.org FAQs (frequently-asked questions) |
|
Category: Main -> VPNQuestionAnswer What is a VPN?A VPN is a Virtual Private Network.
It is a way of allowing computers that aren't really directly connected to the same network to pretend that they are. The basic idea is that you have two IPCop computers, very far away from each other, that need to be connected as if they were all one network.
The traffic that travels over VPN is all encrypted, so it's very secure.
A most excellent VPN document is here: IPCopVPNHowto Back to top
Why do I want a VPN?With a VPN, you can access other machines across the internet as if they were on the same lan segment as your own. The traffic travelling across the internet is encrypted. Back to top
I've read the FAQ, the documentation and my VPN still won't connect. What now?There are two sources for help with ipsec, IPCop's VPN. Obviously, the first choice would be the IPCop user mailing list. SuperFreeS/WAN is an open source project, too. Check its web site for support.
In many cases, you should get complete documentation for your problem. Log in to your IPCop as root and issue the following command:
ipsec barf > /tmp/problem.txt
This will dump everything about ipsec to the file /tmp/problem.txt.
Use scp or pscp from another machine to copy the file to it and include it in your email. You may need to do this on both sides of your VPN. Back to top
How should I implement the VPN between two IPCop servers?Have a look at the VPN HowTo at http://www.ipcop.org/1.2.0/en/vpn/html/ Back to top
How do I get the VPN to come up automatically?The built in VPN in IPCop will start automatically when both ends of the connection are available. Back to top
How do I forward PPTP to an internal MS VPN Server (prior to 1.3.0)?Microsoft's PPTP software is rather buggy and insecure, you should make sure that you have applied all the service packs and hotfixes to all the computers before starting this.
Using the IPCop web interface forward port 1723 to the IP of your PPTP server.
Then log into the firewall command line interface and run: ipfwd --masq 47 & (eg ipfwd --masq 10.0.0.2 47 & ).
To make the second change permanent add the ipfwd command to the end of /etc/rc.d/rc.network file. Back to top
How do I forward PPTP to an internal MS VPN Server (1.3.0 and above)?Use the IPCop web interface to forward port tcp/1723 to the IP of your PPTP server. Then forward the GRE protocol to your PPTP server also using the web interface. That's it! Back to top
How do I connect to a remote Microsoft PPTP server?Unanswered, but suggested question Back to top
How do I connect to a remote Microsoft IPSec server?Have a look at http://jixen.tripod.com/ Back to top
How do I connect a Win2K (XP) client to IPCopThere is a fairly complicated HOWTO at VPN.EBOOTIS.DE, but Darren Critchley has added a detailed explanation of how to connect a Win2K (or XP) client to IPCop to the IPCopVPNHowto page. Back to top
How do I connect a IPsec client behind IPCop to a remote IPSec Server?To run an IPSEC client with ip masq you have to enable IPSec passthrough on your IPCop.- Use your browser to log in to your IPCop as the "admin" user and then go to the VPNs web page. Enable IPSec passthrough in the Global settings section.
(Note this only applies to IPCop version 1.2. This feature is gone in newer versions as the 2.4 kernels don't have an option to pass through IPSec traffic). Back to top
How do I connect to a remote Nortel server?Marcus Loeken suggested the solution below, after searching the web and finding this post with a helpful solution. RickNSD wrote a interesting answer (the question was about using a D-Link router), linked to this page on D-Link's website...
I too just resolved my Nortel Contivity 4.6 w/ D-link 764 (802.11 a & b) issue. I used
the resolution listed at d-link specifically for the Contivity Client
http://support.dlink.com/faq/view.asp?prod_id=1153&question=DI-614+
Two things I did differently:
1) Had to make sure the EACfilt driver was bound/checked to each NIC using the Contivity
Client.
2) To avoid having to use only 1 client as a virtual server, I made firewall entries
directly instead, as follows:
Read L to R as Source then Destination
Allow VPN -9550 WAN,(IP range of contivity switches) LAN,* UDP,9550
Allow VPN -9550 WAN,( IP range of contivity switches) LAN,* TCP,9550
Allow VPN -1723 WAN, ,( IP range of contivity switches) LAN,* TCP,1723
Allow VPN -1723 LAN,* WAN, ,( IP range of contivity switches) TCP,1723
Allow VPN -500 LAN,* WAN, ,( IP range of contivity switches) UDP,500
Allow VPN -500 WAN, ,( IP range of contivity switches) LAN,* UDP,500
I followed all other instructions on the d-link document. The Contivity Client did have
the 'disable keepalives 'checked and with group authentication.
My VPN connection flies now (used to have an SMC barricade 7004AWBR) and have no issues
with the configuation so far.
Hope this helps someone.
So Marcus added some ports to the portforwarding section of his IPCop (ver. 1.2.0), and now it looks like this:
UDP DEFAULT IP 500 192.168.63.100 500
UDP DEFAULT IP 9550 192.168.63.100 9550
TCP DEFAULT IP 9550 192.168.63.100 9550
TCP DEFAULT IP 1723 192.168.63.100 1723
The 192.168.63.100 is the IP of his laptop. And he says "now it works!!! I can connect with the Nortel Contivity client ver. 4.7!"
Thanks Marcus :)
-- EricOberlander - 05 May 2003 Back to top
How do I connect to a remote Checkpoint Securemote server?This worked with SecureClient NG Feature Pack 3 HF 1 (build 53515). Attempts with Feature Pack 2 haven't been successful.
Use your browser to log in to your IPCop as the "admin" user and then go to the VPNs web page. Set the Local VPN IP to the computer running SecureClient and check Enable. Save your changes.
On the Services->Port forwarding page add the following rule:
Protocol: UDP
Source port: 2746
Destination port: 2746
Destination IP: (your SecureClient PC)
For better security, set source IP to the address of your VPN gateway. This can be determined by trying to connect to the VPN server before enabling the port forwarding above. Your firewall log will show several connection attempts from the VPN gateway to port 2746 on your red interface.
Thanks to Dag Christensen - 01 Jul 2003 Back to top
|
|
|
 |