what I want is all my windows traffic goes to CHR (which is already working fine) then all those traffic going to SERVER(germany) through my PPTP VPN and I reach the internet from there.
so windows -> l2tp -> CHR -> pptp -> SERVER -> Internet
should the DHCP client be enabled or not for my case?
also when its enabled as i say i got this IP : 192.168.1.38, then in routes i have this route : dst 0.0.0.0/0 GW: 192.168.1.1
so i would be happy if someone tell me how to send all my traffic to the SERVER and reach the internet
and this is my config
Code: Select all
/interface pptp-client
add allow=mschap1,mschap2 connect-to=175.32.185.250 disabled=no name=pptp-out1 user=user1
/interface ethernet
set [ find default-name=ether1 ] disable-running-check=no name=ether1-INTERNET
set [ find default-name=ether2 ] disable-running-check=no
/disk
set sata1 disabled=no name=sata2
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=192.168.1.1-192.168.1.9,192.168.1.11-192.168.1.254
/ppp profile
add local-address=10.10.10.1 name="l2tp profile" remote-address=10.10.10.2 use-encryption=yes
/interface l2tp-server server
set enabled=yes use-ipsec=yes
/ip dhcp-client
add interface=ether1-INTERNET
/ip firewall address-list
add list=external-ip
/ip firewall nat
add action=masquerade chain=srcnat
/ppp secret
add name=user1 profile="l2tp profile" service=l2tp