Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to share my VPN connection with other devices. I just got a D-Link router, and I'm a little bit lost about how to deal with it. I connect to internet using the VPN of my university (PPTP). The LAN has a DHCP server, giving to each computer an IP address according to their MAC address (if the mac address is unknown by the DHCP server, then it gives an IP address under a subnetwork that cannot connect to the VPN). The connection to internet can be successful only if the combination IP:VPN_login:VPN_password is correct.

I already connected to the router, using telnet on port 23. I know how to change MAC address using ifconfig ethx down && ifconfig ethx up hw ether <mac address>. So changing the mac address of the router to mine (which is recognized by the university), the router will get my usual IP address. But now? To connect to vpn, I usually use network-manager on ubuntu, and the toolkit nmcli

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.