forked from gadmin/gsb2023
modification
This commit is contained in:
parent
81478df279
commit
272ef9ac07
@ -36,7 +36,6 @@ table filter {
|
|||||||
proto udp dport bootps ACCEPT;
|
proto udp dport bootps ACCEPT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# interface réseau
|
# interface réseau
|
||||||
interface $DEV_WORLD {
|
interface $DEV_WORLD {
|
||||||
|
|
||||||
@ -47,8 +46,8 @@ table filter {
|
|||||||
|
|
||||||
# outgoing connections are not limited
|
# outgoing connections are not limited
|
||||||
chain OUTPUT {policy ACCEPT;
|
chain OUTPUT {policy ACCEPT;
|
||||||
}
|
|
||||||
}#FIN OUTPUT
|
}#FIN OUTPUT
|
||||||
|
|
||||||
chain FORWARD {
|
chain FORWARD {
|
||||||
policy ACCEPT;
|
policy ACCEPT;
|
||||||
|
|
||||||
@ -56,9 +55,9 @@ table filter {
|
|||||||
# respond to ping
|
# respond to ping
|
||||||
proto icmp icmp-type echo-request ACCEPT;
|
proto icmp icmp-type echo-request ACCEPT;
|
||||||
# disallow ssh
|
# disallow ssh
|
||||||
saddr proto tcp dport ssh DROP;
|
saddr($DEV_VPN) proto tcp dport ssh DROP;
|
||||||
# allow ssh
|
# allow ssh
|
||||||
daddr proto tcp dport ssh ACCEPT;
|
daddr($DEV_VPN) proto tcp dport ssh ACCEPT;
|
||||||
|
|
||||||
}
|
}
|
||||||
# connection tracking
|
# connection tracking
|
||||||
|
Loading…
x
Reference in New Issue
Block a user