Hi guys,
i can assign a static ip for OpenWRT ( use like PPTP VPN Client ?
For example VPN server provide range 172.16.1.0/24 for PPTP client
I want when OpenWRT connect to VPN server ( via PPTP protocol ) assigned by 172.16.1.2
Topic: Assign Static IP for VPN PPTP client
The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
Page 1 of 1
I also want to know the answer to this question. vpn works good, but I get a dynamic address.
Linux OpenWrt 4.4.14 #2 Wed Dec 6 09:50:32 UTC 2017 mips GNU/Linux(Bleeding Edge, 50140)
try
/etc/config/network
config interface 'vpn'
+ option ipaddr '10.7.0.200'
config interface 'vpn'
+ option localip '10.7.0.200'
/etc/ppp/options.pptpd
+10.7.0.200:10.248.1.38
but
Fri Dec 8 06:16:21 2017 daemon.notice pppd[2218]: local IP address 10.7.0.3
Fri Dec 8 06:16:21 2017 daemon.notice pppd[2218]: remote IP address 10.248.1.138
Fri Dec 8 06:16:21 2017 daemon.notice netifd: Network device 'pptp-vpn' link is up
on windows all adjusted for a minute((
(Last edited by iksuro on 8 Dec 2017, 07:20)
forums.kuban.ru/f1029/openwrt_klient_pptp_kak_v_nego_staticheskij_ip_zasunut--8248590.html
The discussion might have continued from here.
Page 1 of 1