Article 4XBMQ libreswan tries to connect to the wrong ip!

libreswan tries to connect to the wrong ip!

by
pandersson61
from LinuxQuestions.org on (#4XBMQ)
Hi!
I'm having a problem I never thought could occur. I'm trying to connect to a vpn via libreswan (tried strongswan with the same result).
The thing is that libreswan tries to connect to an ip-adress that's not in any of the configuration files.
If i do a traceroute then my server finds finds the right ip.
Code:traceroute -I --port=500 [IP Adress]But as soon as I start the vpn software it uses the wrong IP.
I have tried searching for the wrong adress in my /etc folder just to see that there isn't any garbage file that's messing up my computer.
Code:sudo find /etc -type f -exec grep -i '80.72.2.98' {} \;(Yup, I'm pretty desperate right now.)
And the adress not present anywhere in any config file. In fact I have never heard of the company using that adress.

I even shut down my firewall and cleared the ip tables just to make sure. But that didn't work either.

I think I'm loosing my mind here. Do any of you guys have any idea on what could be wrong?

Edit: if someone is interested in my config file for libreswan:
Code:config setup
protostack=netkey
virtual_private=%v4:1.0.0.0/8
uniqueids=no

conn VPN
authby=secret
pfs=no
auto=add
rekey=no
left=46.246.X.X
leftsubnet=1.1.1.0/24
right=62.181.X.X
rightsubnet=192.168.X.X/32
# make cisco clients happy
cisco-unity=yes
# address of your internal DNS server
modecfgdns=1.1.1.1
leftxauthserver=yes
rightxauthclient=yes
leftmodecfgserver=yes
rightmodecfgclient=yes
modecfgpull=yes
ike=aes128-sha1;modp1024
phase2alg=aes128-sha1
nat-ikev1-method=none
# xauthby=alwaysok MUST NOT be used with PSK
# Can be played with below
#dpddelay=30
#dpdtimeout=120
#dpdaction=clear
# xauthfail=soft
ike-frag=yes
ikev2=neverlatest?d=yIl2AUoC8zA latest?i=PrhwNMk6RCQ:a0ADWlTf8SI:F7zBnMy latest?i=PrhwNMk6RCQ:a0ADWlTf8SI:V_sGLiP latest?d=qj6IDK7rITs latest?i=PrhwNMk6RCQ:a0ADWlTf8SI:gIN9vFwPrhwNMk6RCQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments