Proxy WAN interface with PPPoE type #304
mzz2017
started this conversation in
Show and tell
Replies: 1 comment
-
@cubercsl Could you please help to improve this and add the nftables method? Feel free to edit it directly, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Proxy WAN interface with PPPoE type
The parsing of the pppoe link protocol in ebpf is relatively complicated and not supported by dae. This article gives a method to proxy the machine (output) through iptables with
dae
working together.dae configuration
Two options should be set:
Notice that, due to setting
tproxy_port_protect:false
, it is suggested to forbid traffic to port 12345 using a firewall if your machine is exposed to the public network.iptables
These rules will not impact LAN.
Start
Stop
nftables
These rules will not impact LAN.
Start
Stop
Systemd
Users who use systemd to manage dae can automatically configure iptables using the following method.
/etc/dae/wan-tproxy-start.sh
and/etc/dae/wan-tproxy-stop.sh
with content above.ExecStartPost
andExecStopPost
into the service file:Beta Was this translation helpful? Give feedback.
All reactions