Since an angry moderator just deleted my thread without notification I’ll keep it short.
I succeeded in using IPFire as a VPN client. How exactly? Moderator doesn’t want me to show the steps.
Could you please help me do some optimizations? For example I can’t find any logs on the IPFire web UI. How could I make OpenVPN produce some logs there? I don’t use the OpenVPN server feature. Only a custom client. Btw. how can I make the internet connection stop while VPN is down?
The other question
Many users probably know of GitHub - sfeakes/ipfire-scripts: Scripts for ipfire . It is used to block ads based on many filter lists. In other words a DNS filter. Inside
/etc/sysconfig/firewall.local after the line
##add your 'start' rules here I added
iptables -t nat -A POSTROUTING -s <GREEN subnet> -o tun0 -j MASQUERADE to tunnel my whole subnet. How can I change the iptables rules to first filter the ads and then use the OpenVPN client?