Re: Route through different gateways depending on process

2019-07-08 Thread slackwaree
Sorry for being so stupid but I just cannot get this working. ifconfig vio0 rdomain 1 ifconfig vio0 192.168.10.1/24 route -T1 add default 192.168.10.250 route -T1 add 127/8 127.0.0.1 ifconfig lo1 inet 127.0.0.1/8 rdomain 1 ifconfig vio1 rdomain 2 ifconfig vio1 192.168.10.2/24 route -T2 add

Re: Route through different gateways depending on process

2019-06-28 Thread slackwaree
Hello, That worked however it was not the root cause of the requests hanging and did not get rid of these warnings: 2019/06/28 09:37:02| Created PID file (/var/run/squid.pid) 2019/06/28 09:37:02 kid1| WARNING: (B) '127.0.0.1' is a subnetwork of (A) '127.0.0.1' 2019/06/28 09:37:02 kid1|

Re: Route through different gateways depending on process

2019-06-27 Thread Sebastian Benoit
slackwaree(slackwa...@protonmail.com) on 2019.06.26 13:11:19 +: > Hello, > > Well this is not so simple as it looks but I have made success with > traceroute. > > route -T1 exec '/usr/sbin/traceroute' -n > route -T2 exec '/usr/sbin/traceroute' -n > route -T3 exec '/usr/sbin/traceroute' -n >

Re: Route through different gateways depending on process

2019-06-26 Thread slackwaree
Hello, Well this is not so simple as it looks but I have made success with traceroute. route -T1 exec '/usr/sbin/traceroute' -n route -T2 exec '/usr/sbin/traceroute' -n route -T3 exec '/usr/sbin/traceroute' -n Goes out on proper gateways so it works. For Squid things gets a little bit more

Re: Route through different gateways depending on process

2019-06-24 Thread Claudio Jeker
On Mon, Jun 24, 2019 at 08:47:38AM +, slackwaree wrote: > Hello, > > > Could you maybe provide a full case study for this as it is fairly > uncommon task? > > Do you mean that I will also need +2 ip aliases next to the boxes main ip? No. You can use either option. The question is how are

Re: Route through different gateways depending on process

2019-06-24 Thread slackwaree
Hello, Could you maybe provide a full case study for this as it is fairly uncommon task? Do you mean that I will also need +2 ip aliases next to the boxes main ip? Eg instead of 192.168.10.1: 3128 3129 3130 192.168.10.1:3128 using gateway 192.168.10.250 192.168.10.2:3128 using gateway

Re: Route through different gateways depending on process

2019-06-21 Thread Allan Streib
Claudio Jeker writes: > On Fri, Jun 21, 2019 at 02:11:53PM +, slackwaree wrote: >> Hello, >> >> I wonder if the following scenario can be solved with OpenBSD on 1 single >> machine or with VMM: >> >> I got 3 OpenBSD vms, all of them are exactly the same running squid except >> they use

Re: Route through different gateways depending on process

2019-06-21 Thread Claudio Jeker
On Fri, Jun 21, 2019 at 02:11:53PM +, slackwaree wrote: > Hello, > > I wonder if the following scenario can be solved with OpenBSD on 1 single > machine or with VMM: > > I got 3 OpenBSD vms, all of them are exactly the same running squid except > they use different default routers to route

Route through different gateways depending on process

2019-06-21 Thread slackwaree
Hello, I wonder if the following scenario can be solved with OpenBSD on 1 single machine or with VMM: I got 3 OpenBSD vms, all of them are exactly the same running squid except they use different default routers to route their traffic out. I would like to merge these to one VM if it is