Community discussions

MikroTik App
 
simonyang
just joined
Topic Author
Posts: 1
Joined: Mon May 02, 2011 1:08 pm

PPTP real static ip

Mon May 02, 2011 1:18 pm

Hallo...
I have mikrotik 4.16
i have configured pptp server
i have 5 real ip's
95.140.197.0/29
95.140.197.1 is isp gateway
mikrotik wan ip is 95.140.197.2
i want to give my pptp client ip 95.140.197.3
for example i want to connect from home with pptp and get real ip addres 95.140.197.3
i know its possible but need some route , please help.
 
User avatar
Caci99
Forum Guru
Forum Guru
Posts: 1075
Joined: Wed Feb 21, 2007 2:26 pm
Location: Tirane
Contact:

Re: PPTP real static ip

Tue May 03, 2011 1:34 am

Well, with PPTP you do get a local IP address in your core router so you can use netmap
For example you get local IP=10.1.1.10
/ip firewall nat
add chain=dstnat dst-address=95.140.197.3 action=netmap to-addresses=10.1.1.10
add chain=srcnat src-address=10.1.1.10 action=netmap to-addresses=95.140.197.3 
 
glucz
Member Candidate
Member Candidate
Posts: 123
Joined: Wed Jun 06, 2007 10:25 pm

Re: PPTP real static ip

Sun May 08, 2011 10:09 am

If you don't want to play with NAT, you can just set the remote address in PPTP/L2TP secret to the real static IP. You will also need to enable proxy-arp on the main eth interface of the router.

GL
 
UGP2
newbie
Posts: 32
Joined: Sun Apr 03, 2011 9:06 pm

Re: PPTP real static ip

Wed Aug 10, 2011 12:06 pm

I did what you say!
But now just I can open my internal (Ethernet) network I can not use remote!!
Where is proxy-arp??
If you don't want to play with NAT, you can just set the remote address in PPTP/L2TP secret to the real static IP. You will also need to enable proxy-arp on the main eth interface of the router.

GL
 
LedNick
just joined
Posts: 3
Joined: Thu Aug 11, 2011 11:51 am

Re: PPTP real static ip

Fri Aug 19, 2011 4:00 pm

restore the settings and try another way round

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 105 guests