Skip to main content

All Questions

Tagged with
0 votes
0 answers
40 views

Route all traffic **except return traffic** through NAT Gateway

I am fidgeting with NAT Gateways and netplan. I need all traffic that was initiated by the machine, so to say, to go though the nat gateway, and all return traffic in response to inbound requests to ...
bwg 325's user avatar
-1 votes
2 answers
614 views

Unable to access Url from Internet through WireGuard VPN tunnel

I am trying to access a router settings web page from Internet. I have setup a WireGuard VPN on AWS EC2. The handshake between the router and the WireGuard server looks good, but I am not able to ...
TechGuy's user avatar
1 vote
1 answer
169 views

SNAT and DNAT port forwarding to a linked subnet

I am having some issues with the classic problem of DNAT/SNAT port forwarding, with the added complexity of multiple networks and subnets being involved. I want to forward a port from a VPS server of ...
John Tate's user avatar
  • 199
3 votes
1 answer
130 views

How to route an IP address?

I am trying to route an IP address (camera sensor) to an edge server through a 5G network. The camera sensor is connected to a 5G Modem. The camera IP address is 10.45.3.1, the 5G link IP address is ...
HSHATA's user avatar
  • 31
0 votes
1 answer
768 views

Using a External VPS server to act as a firewall / proxy server for a locally hosted server

TL;DR I am trying to use one of my linode servers as firewall / proxy server for a locally hosted game server (using 28015 udp and 28082 tcp) so that the ip of the locally hosted server is not exposed ...
CJ-5's user avatar
  • 11
0 votes
1 answer
930 views

How to add a routing rule that only match "dport"?

In my OpenWrt box, I want to route only a specific protocol(tcp:1888) to a tun interface only for one PC(192.168.28.2), so I do as following: ip rule add from 192.168.28.2 dport 1888 lookup 123 ip ...
Leon's user avatar
  • 179
1 vote
0 answers
189 views

IP Binding Issue in using GRE Tunnel

I have a issue with tunneling and am having a hard time finding a solution. I have two servers, A: Host-Server being a sever with a single IP, and B: Main-Server being the server handling all our ...
NinjaDestroyer's user avatar
0 votes
1 answer
2k views

Can't get linux router/iptables masquerade working

Hope someone more clever than me could help because I am out of ideas... We want to create (in openstack) a router that will...route (haha) trafic from one network to the other. Simple. This is what I ...
Romain Pelissier's user avatar
1 vote
2 answers
1k views

OpenVPN server with 2 Public IP

This server has 2 IP addresses as follows. 11.22.22.44 : primary address & exit ip address 11.22.33.55 : secondary address, non-exit ip address, used for openvpn client to connect to i can ssh ...
Arthurency's user avatar
0 votes
0 answers
2k views

Guide to exclude traffic on certain ports (22, 80) from being routed via OpenVPN (client) on Linux/Ubuntu 18.04?

I'm running a VPN client on Ubuntu, and I'm looking for guidance on how to exclude certain ports from being routed through the VPN client (OpenVPN). For example, how would one go about excluding ports ...
Jean Monet's user avatar
0 votes
1 answer
810 views

Iptables forward incoming traffic multiple ip

I have a server with 5 ipv4 95.x.y.1 95.x.y.2 95.x.y.3 95.x.y.4 95.x.y.5 and I need to forward only the incoming traffic from port 80 to port 8080 (and same ip) so 95.x.y.1:80 --> 95.x.y.1:8080 ...
Francesco's user avatar
1 vote
1 answer
1k views

Route internet traffic through one nic and local traffic through a second nic

I am trying to route traffic through a specific interface based on its destination. OS is CentOS 7. I am setting up a mini MPI farm where I have 2 slave workers and one master. The master and slaves ...
Matt Schramm's user avatar
16 votes
5 answers
8k views

How does an IP packet know which gateway to take?

Suppose two gateways exist on the same network. If I understand correctly, the IP routing table on sender's computer decides which packets get routed through which gateway. IP routing tables contain ...
Simon Farshid's user avatar
-1 votes
1 answer
80 views

Automatically turn off VPN for select website/IP [closed]

Using a VPN for privacy and security on a Unix machine. There are a few sites that I can only access through my whitelisted IP for work. Is there a way to automatically turn off my VPN (or route ...
9ete's user avatar
  • 117
-1 votes
2 answers
2k views

Debian - Dual WAN - Static Route on a DHCP Interface

I've got two WAN interfaces coming into a Debian 8 VM. WAN 1 - All Internet and local traffic. (0.0.0.0/0) Has a a static IP, thus IP, netmask and gateway are fixed values. WAN 2 - Specific private ...
Indecided's user avatar

15 30 50 per page