Re: [systemd-devel] How to replace iptables nat rule in systemd networkd

2019-03-14 Thread Mantas Mikulėnas
On Thu, Mar 14, 2019 at 3:58 PM cmp wrote: > We have a bastion host at work which is like several others we have. It > has OpenVPN and OpenSSH which we’re allowed to access. The machine acts as > a gateway to access several other private subnets. It uses an iptables rule > like this > > iptables

[systemd-devel] How to replace iptables nat rule in systemd networkd

2019-03-14 Thread cmp
We have a bastion host at work which is like several others we have. It has OpenVPN and OpenSSH which we’re allowed to access. The machine acts as a gateway to access several other private subnets. It uses an iptables rule like this iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTRO