This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

VPN DNAT ISSUES

I have a few issues:

#1- DNAT works fine for http, but doesnt work for pop/smtp

Http rules:
External - Http - Webserver - http
Pop3 rules:
External - pop3 - Mailserver - pop3

#2 - While connected to a pptp Vpn connection, I can't browse the web, ping, or acess webmin on my webserver via https:1000


This thread was automatically locked due to age.
  • no idea why your DNAT doesn't work, but the PPTP problem is actually no problem. 
    You have 2 possibilities to change that,
    1) uncheck the "use default gateway for remote network" option in your PPTP setting on Windows and enter a routing entry on your Windows for your LAN, e.g. your LAN is 192.168.0.0/24 and your IP address for PPTP is 10.0.0.2 you need this command "route add 192.168.0.0 MASK 255.255.255.0 10.0.0.2"
    2) don't chnage your Windows, but add a packet filter rule for the PPTP Pool and also a NAT rule for the PPTP Pool, normally it's the same rules for your LAN.
  • 2) don't chnage your Windows, but add a packet filter rule for the PPTP Pool and also a NAT rule for the PPTP Pool, normally it's the same rules for your LAN.

    Please explain those Dnat and packet rules?
  • it's not a DNAT rule, it's MASQ. What you have to do is a MASQ rule for your PPTP Pool the same way you did it for your internal network, it might look like this: "PPTP Pool  All/All -> MASQ_external None". The packet filter rule might look like this: "PPTP Pool ANY ANY ALLOW"

    Hope this helps.
  • Still no luck... While connected to VPN I can't browse the web....
  • Ok.. I disable the default gateway and now works... I still have one problem. I can't connect using https:/0.0.0.0:1000 to my web server while in VPN...
  • OK... Tested again... I can pring all the IPs on the world!!! But I can't ping the address on my internal NET... Still can't use https.. I created that rule to allow all services from the ppt-poll and still does not work...