Rich Freeman on 28 Sep 2014 15:09:00 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] OpenVPN Question

On Fri, Sep 26, 2014 at 10:49 PM, Rich Freeman
<> wrote:
> I have a routing question and I'm not quite sure how linux will handle
> this situation.

FYI, I was able to follow some recipes online and do this:

echo "101 outside" >> /etc/iproute2/rt_tables
ip route add default table outside via
ip rule add fwmark 1 table outside
iptables -t mangle -A OUTPUT -p tcp -m tcp --sport 22 -j MARK --set-mark 1

Now ssh connections go out over, and other connections
go out via the default route.

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --