SliTaz SliTaz Forum

You are not logged in.

#1 2017-01-23 15:12:10

ray
Member
Registered: 2017-01-16
Posts: 21

How to set vpn with firewall?

Without firewall, I have  a working vpn on ppp0 interface.

Then I set firewall up:

# iptables -S

-P INPUT DROP

-P FORWARD DROP

-P OUTPUT DROP

-A INPUT -i lo -j ACCEPT

-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT

-A OUTPUT -m conntrack --ctstate NEW,RELATED,ESTABLISHED -j ACCEPT

But vpn doesn't work as ppp0 drops down.

What firewall rules should be for ppp0 in this case?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 8 queries executed - Memory usage: 1.52 MiB (Peak: 1.77 MiB) ]