Questions tagged [source-routing]

13 questions
5
votes
1 answer

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 not utilize this by spoofing an IP packet so…
Rohit Banga
  • 2,354
  • 10
  • 32
  • 41
4
votes
1 answer

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 the VPN server through my ISP. Here is my initial…
Patrick Horn
  • 51
  • 1
  • 5
3
votes
0 answers

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). To explain the topology I'll use client A as the…
2
votes
0 answers

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 I can only have one default gateway on one…
famedoro
  • 81
  • 7
2
votes
1 answer

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 leaving the organizations network. I know that source…
Rohit Banga
  • 2,354
  • 10
  • 32
  • 41
1
vote
1 answer

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.0.1 I have to reach another host on public wan…
Disco
  • 243
  • 2
  • 15
1
vote
1 answer

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 to the DHCPv6 server. What are the default…
tecMav
  • 111
  • 3
1
vote
0 answers

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 priority 100 table inbound ip route add default via…
Rusty Lemur
  • 843
  • 1
  • 7
  • 14
1
vote
1 answer

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: from 192.168.220.129 lookup ftto 32764: from…
1
vote
1 answer

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 here is the catch, only squid has to use the VPN…
Skïp
  • 121
  • 1
  • 1
  • 6
0
votes
1 answer

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 associated with it, being: 192.168.129.66 & 192.168.129.67,…
Garth
  • 1
  • 4
0
votes
0 answers

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 everything set up and it all seems to be working just…
alrob
  • 125
  • 6
0
votes
1 answer

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 no switches in between. I thought MAC addresses…
Ben Marconi
  • 21
  • 1
  • 2