Project

General

Profile

Issue #3512

What can i do to route my internet not through VPN

Added by anusha george 2 months ago. Updated 2 months ago.

Status:
Feedback
Priority:
Normal
Category:
-
Affected version:
5.6.2
Resolution:

Description

I'm facing a problem.I tried to connect from my Ubuntu laptop to VPN server,connection established and all my internet queries are now redirecting through VPN Ip address.How can i remove this?or Can i keep my internet as it is(through wlan Ip address) and establish a connection with VPN.

@VPN-Server:~# cat /etc/ipsec.conf
config setup
charondebug="ike 1, knl 1, cfg 0"
uniqueids=never

conn ikev2-vpn
auto=add
compress=no
type=tunnel
keyexchange=ikev2
fragmentation=yes
forceencaps=yes
dpdaction=clear
dpddelay=300s
rekey=yes
left=%any
leftid=159.69.80.205
leftcert=server-cert.pem
leftsendcert=always
leftsubnet=0.0.0.0/0
right=%any
rightid=%any
rightauth=eap-mschapv2
rightsourceip=10.10.10.0/24
rightdns=8.8.8.8,8.8.4.4
rightsendcert=never
eap_identity=%identity

@ client(Ubuntu): /etc/ipsec.conf
config setup # strictcrlpolicy=yes # uniqueids = no

conn ikev2-rw
right=159.69.80.205
rightid=159.69.80.205
rightsubnet=0.0.0.0/0
rightauth=pubkey
leftsourceip=%config
leftid=W+AlockerVpn
leftauth=eap-mschapv2
eap_identity=%identity
auto=start
closeaction=clear

History

#1 Updated by Tobias Brunner 2 months ago

  • Status changed from New to Feedback

Maybe look into split-tunneling and passthrough policies (e.g. UsableExamples).

Also available in: Atom PDF