Re: [systemd-devel] [SPAM] Re: Custom options and passing options via command line.

2022-05-10 Thread Lennart Poettering
On Di, 10.05.22 18:29, Kamil Jońca (kjo...@op.pl) wrote: > Lennart Poettering writes: > > > On Di, 10.05.22 17:59, Kamil Jońca (kjo...@op.pl) wrote: > > > >> Maybe I was not clear. > >> I have ("internal") interfaces qemu1 and qemu2. and interface eth > >> ("external") > >> I wat to nat traffic

Re: [systemd-devel] [SPAM] Re: Custom options and passing options via command line.

2022-05-10 Thread Kamil Jońca
Lennart Poettering writes: > On Di, 10.05.22 17:59, Kamil Jońca (kjo...@op.pl) wrote: > >> Maybe I was not clear. >> I have ("internal") interfaces qemu1 and qemu2. and interface eth >> ("external") >> I wat to nat traffic from interface qemu1 via eth , but I do not want >> nat traffic from inte

Re: [systemd-devel] [SPAM] Re: Custom options and passing options via command line.

2022-05-10 Thread Lennart Poettering
On Di, 10.05.22 17:59, Kamil Jońca (kjo...@op.pl) wrote: > Maybe I was not clear. > I have ("internal") interfaces qemu1 and qemu2. and interface eth ("external") > I wat to nat traffic from interface qemu1 via eth , but I do not want > nat traffic from interface qemu2 via eth2/ > > How to achieve

Re: [systemd-devel] [SPAM] Re: Custom options and passing options via command line.

2022-05-10 Thread Kamil Jońca
Lennart Poettering writes: > On Mo, 09.05.22 20:00, Kamil Jońca (kjo...@op.pl) wrote: > >> Kamil Jońca writes: >> >> >> > Let's see. >> > from SYSTEMD.NETWORK(5) >> > ... >> > IPMasquerade= >> >Configures IP masquerading for the network interface. If >> >enabled, packets

Re: [systemd-devel] [SPAM] Re: Custom options and passing options via command line.

2022-05-10 Thread Lennart Poettering
On Di, 10.05.22 17:46, Kamil Jońca (kjo...@op.pl) wrote: > Lennart Poettering writes: > > > On Di, 10.05.22 12:00, Kamil Jońca (kjo...@op.pl) wrote: > > > >> > The engine is decided at build time, i.e. can be either iptables or > >> > nftables. > >> > >> But there are two kind of "nat' in *tables

Re: [systemd-devel] [SPAM] Re: Custom options and passing options via command line.

2022-05-10 Thread Kamil Jońca
Lennart Poettering writes: > On Di, 10.05.22 12:00, Kamil Jońca (kjo...@op.pl) wrote: > >> > The engine is decided at build time, i.e. can be either iptables or >> > nftables. >> >> But there are two kind of "nat' in *tables suites: 1.masquerade or 2.snat. > > It uses DNAT or MASQUERADE. > >> Esp

Re: [systemd-devel] [SPAM] Re: Custom options and passing options via command line.

2022-05-10 Thread Lennart Poettering
On Mo, 09.05.22 20:00, Kamil Jońca (kjo...@op.pl) wrote: > Kamil Jońca writes: > > > > Let's see. > > from SYSTEMD.NETWORK(5) > > ... > > IPMasquerade= > >Configures IP masquerading for the network interface. If > >enabled, packets forwarded from the network interface will

Re: [systemd-devel] [SPAM] Re: Custom options and passing options via command line.

2022-05-10 Thread Lennart Poettering
On Di, 10.05.22 12:00, Kamil Jońca (kjo...@op.pl) wrote: > > The engine is decided at build time, i.e. can be either iptables or > > nftables. > > But there are two kind of "nat' in *tables suites: 1.masquerade or 2.snat. It uses DNAT or MASQUERADE. > Especially what wyould be equivalent of: > >

Re: [systemd-devel] [SPAM] Re: Custom options and passing options via command line.

2022-05-10 Thread Kamil Jońca
Lennart Poettering writes: > On Mo, 09.05.22 19:13, Kamil Jońca (kjo...@fastmail.com) wrote: > >> >> 3. decide where to resolve names based on domain and existence of ipsec >> >> or openvpn tunnel. >> > >> > Sounds like a job for the resolved domain routing logic, which already >> > exists? >> >>

Re: [systemd-devel] [SPAM] Re: Custom options and passing options via command line.

2022-05-10 Thread Lennart Poettering
On Mo, 09.05.22 19:13, Kamil Jońca (kjo...@fastmail.com) wrote: > >> 3. decide where to resolve names based on domain and existence of ipsec > >> or openvpn tunnel. > > > > Sounds like a job for the resolved domain routing logic, which already > > exists? > > Not quite. When I asked previously I

Re: [systemd-devel] [SPAM] Re: Custom options and passing options via command line.

2022-05-09 Thread Kamil Jońca
(sent previously from different address) Lennart Poettering writes: > On Mo, 09.05.22 18:12, Kamil Jońca (kjo...@op.pl) wrote: > >> For now I do not know how handle multiple interface where: >> 1. set routing according to classles routes from dhcp on some >> interfaces. > > We don't do that anyw

Re: [systemd-devel] [SPAM] Re: Custom options and passing options via command line.

2022-05-09 Thread Kamil Jońca
Kamil Jońca writes: > Let's see. > from SYSTEMD.NETWORK(5) > ... > IPMasquerade= >Configures IP masquerading for the network interface. If >enabled, packets forwarded from the network interface will be >appear as coming from the local host. > > > > I s