Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

ssh tunnel help?

So I've got a bunch of IP on an OVH server. I tried as an experiment to setup ssh tunnel to see if works and it does. So i setup 2 tunnels with two different ports and IPs that are for the same server. However when i check in firefox both ports it comes up as same main ip.

What am I missing here?

Comments

  • I use this command:
    ssh -D 1230 -C -q -N user@ip
    ssh -D 1231 -C -q -N user@ip2

  • Sounds like a routing issue. Just because you're ssh-ing in to different IPs doesn't mean the outgoing forwarded traffic goes out on different interfaces.

    Maybe try some iptables prerouting rules to mark packets according to inbound interface, followed by "ip route" rules sending marked packets out on the corresponding interfaces.

    I might be overthinking it; perhaps someone more knowledgeable will have a simpler solution.

Sign In or Register to comment.