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

Policy validation ( Block internet access except if it is via VPN )

Hey all,

 

I want to block all internet access to a machine. The machine can only access the web if it passes via a VPN client (PIA in my case)

 

Currently I have made this setup:

with service

 

and

 

By the looks of it it works.

 

Am I missing something? Is there a better way?

 

Thanks,



This thread was automatically locked due to age.
Parents Reply Children
  • But that doesn't capture history, does it?

    Cheers - Bob

  • That is true. Without default drop Policy, you do not have any "Drop packet capture" per default. 

    You could create such a log on your own with drppkt on Shell. I only use drppkt to debug but i need the live setup to see, what is going on.

    Worked couple of years with UTM9 and most of the time, i could not really resolve issues with packetfilter.log because it only covers the firewall and only the initial packets. Most of the times, you need to reproduce the issue anyways and XG has more powerful tools like drppkt, tcpdump with interfaces/direction, conntrack with more information. 

    Most of the time, i log into the XG and let the issue reproduce to see, what is going on. Personally speaking - i hate issues from the past. Digging through tons of logs to find any pattern is kinda messy.