Questions tagged [source-routing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
1 answer
5k views

IP address spoofing using Source Routing

With IP options we can specify the route we want an IP packet to take while connecting to a server. If we know that a particular server provides some extra functionality based on the IP address can we ...
Rohit Banga's user avatar
  • 2,414
4 votes
1 answer
3k views

Change the default route without affecting existing TCP connections

Let's say I have two public network addresses on my server: one NAT through an ISP (192.168.99.0/24), and a VPN through a different ISP (192.168.1.0/24), already configured with a per-host route to ...
Patrick Horn's user avatar
3 votes
0 answers
1k views

Forwarding traffic on Linux virtual machine received through GRE tunnel connected over OpenVPN

I'm trying to route traffic destined for the public Internet through an OpenVPN network, where the traffic will exit the VPN through another client on the network (that happens to be a VirtualBox VM). ...
ThomasL744's user avatar
2 votes
1 answer
587 views

Selecting which IP address to use for outgoing requests from behind a NAT

Our organization has several external IP addresses. I am behind 2 layers of NAT and the servers choose which IP address to route my traffic to. Can I specify which IP address to use when finally ...
Rohit Banga's user avatar
  • 2,414
2 votes
0 answers
1k views

Route based on Source IP Address via 2 gateways on same NIC

In a Linux system, which acts as a gateway on my lan, I would like to route traffic based on source IP addresses. I have 2 network cards and one of these cards has 2 different default gateways. I know ...
famedoro's user avatar
1 vote
1 answer
2k views

How to route specific destination using specific interface

On my server i have two interfaces; one is eth0, other is bond0. Unfortunately eth0 is only 100 mbits, opposed to bond0 which is 1000 mbits. eth0 is 10.0.0.21 gw 10.0.0.1 bond0 is 10.0.0.22 gw 10.0....
Disco's user avatar
  • 243
1 vote
1 answer
1k views

multihomed inbound natting using nftables

i have a multihomed router with two external IPs. I would like to NAT incoming connections from both IPs to the same internal IP. What I have so far $ ip rule show 0: from all lookup local 32761: ...
Aleksandar Ivanisevic's user avatar
1 vote
1 answer
1k views

Win 7 IPv6 default Routes

I am using a DHCPv6 server (Dnsmasq) to assign IPv6 address in my LAN. My configuration works, but I am unable to ping the DHCPv6 server. The route information on host machine does not contain a route ...
tecMav's user avatar
  • 111
1 vote
0 answers
599 views

Can Linux do "source MAC based routing?"

I'm looking for a way in Linux to perform source-MAC based routing. My goal is to have a router with the following routing: echo 100 inbound >> /etc/iproute2/rt_tables ip rule add iif eth0 ...
Rusty Lemur's user avatar
1 vote
1 answer
11k views

Setup a VPN on a Squid Proxy (Linux)

Hi all ! I have a Ubuntu server running a squid cache proxy server and i was wondering if it was possible to set things up so that squid would "connect to the internet" though a vpn (PureVPN). But ...
Skïp's user avatar
  • 121
0 votes
0 answers
101 views

Are there any issues with running a VPS with multiple public ip addresses: one serving a website and mail server; and the other a VPN?

I was told that there could be issues running a VPS which has 2 different public ip addresses; one ip running a webpage and mail server; and the other running a vpn. Right now, I already have ...
alrob's user avatar
  • 125
0 votes
1 answer
128 views

Does The Same Layer 2 Routing Information From A Source End Up On The Other Side Of The Internet?

when I do tcpdump -e eth0 I get the traffic stream going through eth0, and I'm seeing various source MAC addresses of packets being received by eth0. I only have one default gateway connection with ...
Ben Marconi's user avatar
0 votes
1 answer
471 views

Default route add fails, in same subnet

I am running Fedora 22, (Kernel 4.0.4), and trying to add a default route for a custom routing table, SERVINT used by vlan30 on the Ethernet interface, enp3s0. The VLAN has two IP addresses ...
Garth's user avatar
  • 1