Problem:VPN wireless connection with OpenSwan on Slackware 12.0
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Problem:VPN wireless connection with OpenSwan on Slackware 12.0
So, I'm trying to set VPN wireless connection on Slackware 12.0. I have a laptop, LAN card is Realtek 8139, which is connected to TL-WA501g with simple LAN cable. Further on, AP is connected to antenna.. Just to mention that this is for "home" use..
Searching this forum,I've found link to http://wiki.openswan.org/, and I've successfully installed OpenSwan. After installation, with 'ipsec verify' I verified connection,and it was [OK] for all,except OpportunisticEncryption, which is [DISABLED]. Anyway,I've started Firefox and managed to open home page of my WiFi provider. But,when I try to open any other site,FF always opens home page of my WiFi ISP.. So I checked /etc/ipsec.conf and there is no defined connection. Unfortunately, I dont know how to set a connection..I've read docs on http://wiki.openswan.org, but now I'm confused..
I dont know how to set a connection , since there is 2 different GW's and IP's.
So, my question is: can someone help me to set connection in /etc/ipsec.conf by using these parameters?
Just to mention that IP assigning goes from DHCP. KBCnet is my ISP.
So, I'm trying to set VPN wireless connection on Slackware 12.0. I have a laptop, LAN card is Realtek 8139, which is connected to TL-WA501g with simple LAN cable. Further on, AP is connected to antenna.. Just to mention that this is for "home" use..
Searching this forum,I've found link to http://wiki.openswan.org/, and I've successfully installed OpenSwan. After installation, with 'ipsec verify' I verified connection,and it was [OK] for all,except OpportunisticEncryption, which is [DISABLED]. Anyway,I've started Firefox and managed to open home page of my WiFi provider. But,when I try to open any other site,FF always opens home page of my WiFi ISP.. So I checked /etc/ipsec.conf and there is no defined connection. Unfortunately, I dont know how to set a connection..I've read docs on http://wiki.openswan.org, but now I'm confused..
I dont know how to set a connection , since there is 2 different GW's and IP's.
So, my question is: can someone help me to set connection in /etc/ipsec.conf by using these parameters?
Just to mention that IP assigning goes from DHCP. KBCnet is my ISP.
I've discovered very important thing: my ISP uses PPTP, not IPSEC
I've followed instructions from http://slackworld.berlios.de/2007/Linux2MS-VPN.html, this is what I did:
- installed PPTP
- kernel: everything that was needed for PPP was already been defined through modules,(kernel 2.6.22.5) but,just in case, I've recompiled kernel again, everything went fine, successfully booted Slackware..
- files which are needed for PPP edited like it was said
- after starting connection, error occurs, and terminate connection
These are the files which take part in this story:
1) /etc/ppp/options.pptp
Code:
lock
noauth
# We won't do EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
refuse-eap
refuse-chap
refuse-mschap
nobsdcomp
nodeflate
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.