Ubuntu 12.04 x64 LTS VPN Server not changing IP
- by user288778
I used this guide http://silverlinux.blogspot.co.uk/2012/05/how-to-pptp-vpn-on-ubuntu-1204-pptpd.html and it worked fine. I'm able to connect but the problem is, that my IP being changed to "localip" not "remote ip".
This is what I get from tail -f /var/log/syslog
[code]
June 6 00:09:19 instant5860 NetworkManager[1456]: Unmanaged Device found; state CONNECTED forced (see http://bugs.launchpad.net/bugs/191889)
June 6 00:09:19 instant5860 NetworkManager[1456]: Marking connection 'Wired connection 1' invalid.
June 6 00:09:19 instant5860 NetworkManager[1456]: Activation (eth1) failed.
June 6 00:09:19 instant5860 NetworkManager[1456]: Activation (eth1) Stage 4 of 5 (IPv4 Configure Timeout) complete.
June 6 00:09:19 instant5860 NetworkManager[1456]: (eth1): device state change: failed - disconnected (reason 'none') [120 30 0]
June 6 00:09:19 instant5860 NetworkManager[1456]: (eth1): deactivating device (reason 'none') [0]
June 6 00:09:19 instant5860 NetworkManager[1456]: Unmanaged Device found; state CONNECTED forced.
June----- avahi-daemon[440]: Withdrawing address record for fe80......... on eth1
Jun------avahi-daemon[440]: Leaving mDNS multicast group on interface eth1. IPv6 with address fe80.....
Jun------avahi-daemon[440]: Interface eth1.IPv6 no longer relevant for mDNS.
Jun------avahi-daemon[440]: Joining mDNS multicast group on interface eth1.IPv6 with address fe80....
Jun------avahi-daemon[440]: New relevant interface eth1.IPv6 for mDNS
Jun------avahi-daemon[440]: Registering new address record for fe80..... on eth1.*.
Jun - snmpd[1172]: error on subcontainer 'ia_addr' insert (-1)
dbusp382]: [syste] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
AptDaemon: INFO: Initializing daemon
AptDaemon.PackageKit: INFO: Initializing PackageKit compat layer
dbus[382]: [system] Successfu;;y activated service 'org.freedesktop.PackageKit'
AptDaemon.PackageKit: INFO: Initializing PackageKit transaction
AptDaemon.Worker: INFO: Simulating trans: /org/debian/apt/transaction/233beca013a0473ea34d9dea805af5df
AptDaemon.Worker: INFO: Processing transaction /org/debian/apt...
AptDaemon.PackageKit: INFO: Get updates()
AptDaemon.Worker: INFO: Finished
snmpd[1172]: error on subcontainer
pptpd[23611]: CTRL: Client 82.33.... control connection started
pptpd[23611]: CTRL: Starting call (launching pppd, opening GRE)
pptpd[23611]: pppd 2.4.5 started by root uid 0
pptpd[23611]: Using interface ppp0
pptpd[23611]: Connect ppp0 <-- /dev/pts/1
NetworkManager[1456]: SCPlugin - Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
NetworkManager[1456]:SCPlugin - Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
pptpd[23612]: peer from calling number 82... authorized.
kernel: [2918261.416923] init: ufw pre-start process (23613) terminated with status 1
dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
CTRL: Ignored a SET LING info packet with real ACCMs!
local IP address:109.0.121.197
remote IP address: 109.0.84.56
dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
NetworkManager[1456]: (eth1): DHCPv4 request timed out.
NetworkManager[1456]: (eth1): canceled DHCP transaction, DHCP client pid 23280
NetworkManager[1456]: Activation (eth1) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
NetworkManager[1456]: Activation (eth1) Stage 4 of 5 (IPv4 Configure Timeout) started...
NetworkManager[1456]: (eth1): device state change: ip-config - failed (reason 'ip-config-unavailable') [70 120 5[
NetworkManager[1456]: Unmanaged 'ia_addr' insert (-1)[/code]