On 2020-03-24 04:45, Patrick O'Callaghan wrote:
On Tue, 2020-03-24 at 03:27 +0800, Ed Greshko wrote:
> On 2020-03-23 23:06, Ranjan Maitra wrote:
>> Yes, indeed. Can it be paused while VPN is not up? And btw, postfix is started
via systemd but not VPN, that is, it is not started via systemd.
> How about running postfix in a VM where the VPN is always up?
I do this occasionally. A small Fedora server installation is all you
need.
Though actually what I've wanted to do for a long time is "split
tunnelling", where some network connections go over the VPN and others
don't. This should be possible in theory using network namespaces (see
'man ip-netns') but I've never managed to get it to work.
In looking at the man page I see:
For applications that are aware of network namespaces
and ask the question "What applications are aware of network namespaces"?