Questions tagged [forwarding]
The forwarding tag has no summary.
151 questions
2
votes
1
answer
136
views
Nested VPN connection via Wireguard
I designed the following topology:
Client A -> Server B -> Server C
Server C: wireguard server that NATs packets from its clients (in this case just B) before sending them to the Internet. Its ...
0
votes
2
answers
147
views
ubuntu arp problem with who-has x.x.x.x tell y.y.y.y
i have a single server which two VM(ubuntu) configured as ubuntu-edge(with frr module for routing - wan side) and ubuntu-fw(for lan side), between these machines there is a virtual internal interface. ...
0
votes
0
answers
110
views
IP forwarding not working when enabled in RHEL 7.9?
I've enabled ip forwarding on a RHEL 7.9 machine, but it's not forwarding any icmp requests. I've set the ip_forward flag
cat /proc/sys/net/ipv4/ip_forward
1
/etc/sysctl.conf has been edited to ...
1
vote
1
answer
112
views
Why does the VPN client have access to all interfaces instead of being restricted by the subnet and the disable forwarding option?
Context
In my Debian Linux infrastructure, I manage several network interfaces with specific roles.
Interface
Role
Subnet
Description
eth0
Public connection
192.0.2.0/24
Used for external public ...
0
votes
0
answers
41
views
configuring internet access through other server
I have server A which has a 4-port Network Interface Card, and it is configured to reach the internet via its eth0 where DNS and a gateway and a proxy is specified.
I have an identical server B with ...
0
votes
0
answers
97
views
iptables udp packet forwarding
On my Linux machine, I have a UDP server listening on IP 192.168.1.5 port 44123 and an application that sends UDP packets to other devices on the same network, in particular to devices with IP 192.168....
0
votes
1
answer
350
views
Forward Traffic From LAN To Tailscale Subnet with Firewalld
I have a Raspberry Pi with an ethernet connection on the end0 interface to the 10.15.16.0/20 network. It has a static IP address on this network at 10.20.30.15.
The Pi is also connected to my ...
3
votes
1
answer
103
views
IP forwarding between two LANs without masquerading
I have two LANs connected with a VPN:
LAN1:192.168.0.0/24 <=> VPN:192.168.2.0/24 <=> LAN2:192.168.10.0/24
The two routers (one on each side of VPN) are running on Debian Linux and IPv4 ...
3
votes
1
answer
2k
views
How to make "Warning: remote port forwarding failed for listen port XXXXX" into error?
In most cases this is harmless message. In this case, this SSH connection exists solely to forward TCP ports (and it uses a dedicated key which is restricted to only be able to do this), and it should ...
0
votes
1
answer
445
views
igmpproxy not routing SSDP between interfaces
I have hostapd running on two wireless devices in isolated and bridged mode: wlp1s0 is behind the bridge wan, and wlp5s0 is behind the bridge iot. The exact configuration for each bridge is the one ...
0
votes
0
answers
1k
views
virt-manager network options or virtual network interfaces
I want to ask about network options on virt-manager. I used to have the options shown in the given picture https://i.sstatic.net/P4SYR.jpg
host device eth0 : macvtap
host device wlan0 : macvtap
and I ...
0
votes
1
answer
479
views
SSH reverse tunnel and port forward to a different machine on remote network
i am trying to do something , but i cant get it to work
After at least 4-5 hours of research and trying , its time for help
I want to connect to a second remote machine trough a primary remote machine
...
0
votes
2
answers
1k
views
Failing at SSH Agent Forwarding
I have a DigitalOcean droplet into which I'm attempting to clone a repo from Github.
This works fine on my local machine, and I've been following the guide from Github here:
https://docs.github.com/en/...
4
votes
3
answers
10k
views
X11 Forwarding request failed
I'm trying to use ssh -Y/X ManjaroHost from my Mac, but get "X11 Forwarding request failed". I've searched for the solution for two weeks, and have tried many methods suggested by similar ...
10
votes
2
answers
9k
views
Difference between net.ipv4.conf.all.forwarding and net.ipv4.ip_forward
According to https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt
conf/all/* is special, changes the settings for all interfaces
forwarding - BOOLEAN
Enable IP forwarding on this ...
1
vote
0
answers
139
views
Linux Server as both OpenVPN Client and Server
I am trying to set up a server that can on one hand connect to an OpenVPN server (Server 1) as client, and act as a OpenVPN server itself (Server 2).
The server (server 2) would then route all the ...
2
votes
1
answer
9k
views
Setting IP forwarding with a bridge
I'm familiar with how to set IP forwarding between two interfaces, and it always worked.
Now I have a different scenario where I want to set IP forwarding from a local network bridge to an output ...
0
votes
1
answer
112
views
forward outgoing port and sourcenat this traffic
I have crawled the internet, and tried some config, but so far, i am stucked, so i would need a little help if someone has a better experience than me on this. :)
I got a server,server1, behind a ...
0
votes
0
answers
254
views
How can I forward my http/https request to 2 different upstream proxies based in the destilanation url?
Hi I am quite struggling to find a good solution to my problem. I have to forward http/https requests from my (Linux) server to 2 different proxy based on the destination URL.
I've tried different ...
0
votes
1
answer
90
views
Create virtual forwarding email addresses using a server side programming language [closed]
Some background information first before my question, I am curious as to what happens behind the scenes after you have purchased a domain name and then setup a forwarding email address from the newly ...
0
votes
1
answer
746
views
How to debug source IP which try to access SSH server through port forwarding by SSH
my case is likely following case: SSH client(192.168.0.11) -> public cloud VM with SSH server and setup port forwarding (139.90.90.90)(CentOS7.9)-> one internal SSH server(10.24.24.24)(CentOS 7....
0
votes
1
answer
344
views
Bind9 keeps crashing when forwarding is enabled
I have a debian small server setup with bind9 and dnscrypt both on the same machine. Bind9 runs on port 53, dnscrypt on 5000. The regular bind9 server performs some checks then forward the requests to ...
3
votes
1
answer
2k
views
IPv6 forwarding doesn't work in a network namespace
I have 3 Linux VMs connected like this:
/ server1 \
| ens19 2001:1::2 |
\ /
|
/ \
| ens19 2001:1::1 |
| ...
0
votes
1
answer
795
views
Bind with RPZ broke domain forwarding?
I wanted to take my existing internal DNS Bind servers and add some RPZ security. Previously I had split DNS with my internal view set to forward 3 specific domains to my offices internal DNS servers.
...
1
vote
0
answers
230
views
Port forwarding in host only network with iptables
I have two machines in a host-only network. One is a client and the other one is a webserver.
I want to forward all HTTP traffic from client to web server over a proxy on port 8080.
I tried it with:
...
1
vote
1
answer
705
views
Socks Proxy Connection Iptables Settings
i hope someone could help me because i can't get any further:
I have the follwing Setup:
System 1: PC Windows (192.168.240.2)
System 2: PC Ubuntu (192.168.240.3)
On the Ubuntu System i opened a ssh ...
26
votes
3
answers
47k
views
What exactly happens when I enable net.ipv4.ip_forward=1?
Suppose I have this situation where I wrote a program to poison the ARP cache of 2 devices (let's say A and B), both in the local network to successfully able to MITM from device M. The program runs ...
2
votes
1
answer
2k
views
Routing traffic from LAN to WAN
Preamble
We have a test setup where several components are connected to their own network. This network has the the following address: 172.25.1.0/24. Most, if not all, of the components have static IP ...
1
vote
0
answers
116
views
IP forwarding not working on Vagrant + Ansible scenario
This is the scenario
It is created with Vagrant and configured with Ansible, but the specific problem I'm going to ask about here is why IP forwarding is not working when it should be working.
On the ...
2
votes
1
answer
888
views
How to set up NAT of VPN-sourced ip packets?
I have an SBC running Arch Linux that I use as a VPN server (as it is the only device having a globally accessed IP address not NATed by ISPs) to connect three different networks. These are 192.168.0....
1
vote
1
answer
652
views
iptables - allow forward rules by set
I'm building a captive portal (yeah, just-another ;) )
and now I'm trying to handle the core feature, the iptables rules.
Based on ipset I have a list of valid mac-addresses with name allow-mac.
So ...
1
vote
0
answers
228
views
How to redirect, in postfix, outgoing mails that get blocked, to another email address?
I'm a happy user of a postfix mail server. But, every now and than an outgoing mail is blocked by the receiving system. Be it that that system considers the mail as spam, or for some other reason.
I ...
1
vote
1
answer
2k
views
Contents of /proc/sys/net/ipv4/ip_forward is deleted after reboot
I installed Debian 10 in VMWare. This Debian machine has to operate as gateway/router machine.
To enable ip forwarding between my LAN and WAN interface, I edited the value with nano in /proc/sys/net/...
0
votes
0
answers
93
views
iptables: forward packet to another network
I have two machines on 2 different networks which are interconnected.
First network:
10.0.0.0/24
Second network:
10.0.1.0/24
The first network is running an OpenVPN under 10.0.0.10 with ...
1
vote
0
answers
213
views
How do I restore internet access to my devices with the iptables service running and ip forwarding enabled?
I use my laptop's hotspot with Ubuntu Linux for internet on my phone and entertainment devices.
When I install the Linux Firewall iptables (ip forwarding enabled) by inputting in terminal:
sudo apt-...
0
votes
0
answers
372
views
Rstudio fails to be displayed on my laptop (client) when trying to X11 forwarding from my Imac (server) at home
I am trying to display Rstudio on my laptop (where I have Ubuntu 18.04.5 LTS) using X11 forwarding with ssh to connect to my Imac at home.
I set up all the files (ssh_config and sshd_config) on my ...
7
votes
2
answers
4k
views
How can I use GPG agent forwarding over ssh when systemd owns the remote sockets?
I'm trying to follow these guides and answers
https://wiki.gnupg.org/AgentForwarding
https://superuser.com/questions/161973/how-can-i-forward-a-gpg-key-via-ssh-agent
https://gist.github.com/...
1
vote
0
answers
2k
views
Forward audio from Linux to Windows
For example, how do I forward audio from a Ubuntu guest (in Hyper-V) to the Hyper-V host, considering Hyper-V doesn't virtualize audio hardware? There is no pulse client for Windows 10 as far as I ...
1
vote
1
answer
4k
views
Forwarding port to remote server?
How can I forward a local port to a remote host/port?
I have tried using:
sudo iptables -t nat -A PREROUTING -p tcp --dport <PORT> -j DNAT --to-destination <DESTINATION_SERVER>:<...
1
vote
0
answers
578
views
Proxy? Port forward?
So I'm looking for a simple solution in the form of a stand-alone middleman service to run on Ubuntu on a headless Raspberry Pi, listen on port 80 and forward the traffic from that, to and from an ...
0
votes
0
answers
141
views
Something is modifying my iptable, can it be traced?
I've got the following command in my iptable: -A FORWARD -o enp0s3 -j ACCEPT
That somebody doesn't like, because after 2 reboots, it's gone from the iptable...
I've got iptables-persistent
installed, ...
1
vote
1
answer
530
views
Bypass server VPN to access its HTTP port externally
I'm running a home server with FreeBSD 12.1 with openvpn. The openvpn runs strictly on the server - the rest of my home network is non-openvpn.
I'm a noob with webservers, and am fooling around with ...
1
vote
1
answer
71
views
Why is the socket number incremented by one in libssh2 x11 forwarding example?
I am looking to x11 forwarding example in libssh2 source (example/x11.c).
In the function x11_send_receive I see this code:
rc = select(sock + 1, &set, NULL, NULL, &timeval_out);
if(rc > 0) ...
2
votes
2
answers
4k
views
Setting up a NordVPN gateway on my Raspberry Pi
Goal
Set up NordVPN on my Raspberry Pi and use it as a gateway.
Current set-up
Raspberry Pi2 running Arch ARM, connected to my router via ethernet cable
NordVPN account
nordvpn installed on my Rpi
...
2
votes
1
answer
835
views
Linux source routing with nexthop pointing toward Docker
I have a similar question linked over to ServerFault, but after further working on the problem, I believe I've refined the problem to a Linux route table question.
Background:
AWS released their ...
1
vote
0
answers
446
views
Linux: UDP "multiplexer" inside kernel
I have an application with very high performance requirements and the following job: There is incoming UDP traffic on port 1234. The packets have as fast as possible to be sent to hosts H1, H2, ... Hn ...
-1
votes
1
answer
968
views
iptables - use different outgoing IP if destination is certain domain
I have a VM that has two IPs. Let's say 1.2.3.4 and 4.3.2.1.
If i do "ip a", it shows me 1.2.3.4 as first one and 4.3.2.1 as second:
2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP>...
0
votes
0
answers
53
views
Route traffic from interface to real router
I'm trying to capture packets sent from my phone using my raspberry pi, basically a MITM kind of thing.
I have changed my phone's wireless settings to use the raspberry pi's ip address as the router ...
0
votes
1
answer
1k
views
SSH X11 forwarding - Authentication issue only with specific application
I have two raspis and connect from one to the other using SSH and X11 forwarding, ssh pi@[pi's IP] -X -v. Displaying the remote GUI using X11 forwarding works fine for many applications. However, for ...
0
votes
1
answer
152
views
What does * mean in ssh reverse forward?
What does * mean in the below ssh command?
ssh -R *:1993:localhost:22 [email protected]
The * means 23.105.207.175?
And are there different meanings for the below three expressions?
expression1:
...