Questions tagged [forwarding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
27 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
0answers
34 views

Forward local traffic to internet

I am currently working on the above topology. I have 1 client laptop, 2 Desktops and desktops has 2 interfaces. 1). Client IP 192.168.100.2, DG 192.168.100.4 2). Desktop 1: ns3 node 1 192.168.100.4 ...
0
votes
0answers
23 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
0answers
19 views

command line auto-forward from Gmail account to multiple addresses

I am looking a way to setup a machine running Armbian to auto-forward messages from a Gmail account to multiple addresses at a specific given time every day. I have managed to install mutt and have ...
0
votes
1answer
59 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
1answer
40 views

What does * mean in ssh reverse forward?

What does * mean in the below ssh command? ssh -R *:1993:localhost:22 root@23.105.207.175 The * means 23.105.207.175? And are there different meanings for the below three expressions? expression1: ...
1
vote
1answer
43 views

Traffic Forwarding To Server With iptables

I have a server (10.10.0.100) on the same subnet (10.10.0.0/24) with all the rest of the hosts. I would like that server to received a full copy of all traffic (Windows and Linux machines) on it's ...
0
votes
0answers
11 views

Forward traffic Server A to Server B and show ip origin B to A

i have a question... Mi main server with this ip -> 166.xx.xx.xx Mi proxy server with this ip -> 66.xx.xx.xx When players connecting via main server i can see the ip from them, but when they ...
0
votes
1answer
24 views

Routing Configuration In Redhat Linux To Communicate Two Different Network

I have created three RedHat virtual machines named: server, client1, client2 in VirtualBox manager. server is connected to client1 on network 10.1.1.x with NIC card (internal network = inet1) and ...
1
vote
0answers
45 views

Can't use ip forwarding on Android unless hotspot is on

Really stuck on this one I want to change the gateway on my pc to go through my phone connected to the same wifi network in my home. When hotspot is on and I connect to it with another device it works ...
0
votes
0answers
31 views

Linux iptables allow forwarding from a specific IP

I'am not new in iptables and Linux but I prefer your support before take a decision. I have a quite hard scenario in which the Linux "router" got many interfaces, routes, a VPN. GOAL: Allow a single ...
1
vote
1answer
104 views

How to force ssh agent forwarding to continue in screen after you disconnect?

I want to connect to a host from which I will run ansible playbook using screen. Using screen allows me to have the playbook finish in case my ssh connection gets interrupted or terminated. So far no ...
0
votes
1answer
537 views

How to configure IP Forwarding

I have a device DEV1 which should communicate with device DEV3, however in the middle there is DEV2. My understanding is that I need to use IP Forwarding in DEV2 and edit route tables on DEV1 and ...
0
votes
0answers
58 views

Reroute traffic from PPTP interface to Wireguard interface

I would like to set up Wireguard client on my router. However, I'm a Mikrotik fan and the router doesn't support Wireguard. I'm planning to set up Wireguard client on a Linux, connect Mikrotik to ...
0
votes
0answers
36 views

iptables Data packets not forwarded, everytime after power cut

I am getting data from a remote RTU (192.168.100.2) to my server through L2TP on peer ip (168.18.13.3) over public ip defined on eth0. I configured eth1 with 168.18.13.1 And this is connected to ...
1
vote
0answers
42 views

Forward traffic to other interface

I have two interfaces eth0 and eth1. I want all traffic on eth0 to be forwarded to eth1 without changing anything to packet(origin Src/Dst IP, port etc. has to same). I found some articles about ...
0
votes
1answer
110 views

IPTables Forwarding and MASQ not working

I am trying to setup Traffic forwarding and NAT for my VM machines.I am having setup in which there are 2 linux OS i.e. Ubuntu and CENTOS and I want that traffic should be forwarded from Ubuntu to ...
0
votes
1answer
17 views

Linux disconnect two subnetworks

I have one router with 3 networkcards (one goes global and two are intern) and I would like to know if i enabled in the router nat.ipv4.ip_forward = 1 so does a host on subnet 1 cann reach a host on ...
1
vote
0answers
13 views

Information on forwarding queue occupation (if existent)

I have a router forwarding traffic from a network to another and I need to know when the packet queue (in the receiving side/interface - rx) occupation is close to its maximum capacity. However, ...
0
votes
0answers
11 views

Webserver Request Forwarding

This is a bit of a complicated request. The short of it is, I want to access a website that is generally public, while I am behind a firewall that blocks it. NOTE: the traffic will be almost ...
0
votes
1answer
26 views

Issues in getting internet from another node through Ethernet

I am trying to get internet on node1 [IP: 1.2.3.4] from another node2 [IP: 5.6.7.8] which has a working internet connection, through ethernet. Packet forwarding is enabled on the node2 which is ...
2
votes
1answer
616 views

How to share “internet hotspot” access to a network on a second wifi adapter?

Can anyone assist with a linux routing question? Essentially I want to use an Ubuntu laptop to provide internet access to an attached network. I have a Raspberry pi on a wifi network (192.168.42.0/24)...
0
votes
1answer
86 views

Pinging one interface of Linux router by another interface of this router

I have such a topology made of network namespaces and veth pairs: ------ ------ ------ | a1 | | r1 | ...
0
votes
1answer
22 views

several instances of bind serving same domain

I am trying to configure two DNS-servers (bind) on 2 linux-servers (server1 and server 2) acting as master for the same domain. server1 is intended as primary server and can resolve a subset of all ...
0
votes
1answer
38 views

Why would my router reject forwarded packets to itself?

The first rule in the FORWARD chain is interesting to me. Why would this be a necessary rule if the policy is to DROP? root@tomato:/tmp/home/root# iptables -L --line-numbers Chain INPUT (policy DROP) ...
0
votes
1answer
29 views

SSH Tunneling, have some problems [closed]

I have a computer and host A, B. Host A has internet connection and host B placed in host's A local network. Host B has Web Interface at port 8080. I need to forward port on host A. And then i want to ...
2
votes
1answer
603 views

In X11 SSH forwarding, keyboard isn't working properly (Only Ctrl + .. and numeric keypad works!)

I'm using Ubuntu 18.04 desktop at the office. In order to work with server, we're required to connect to a remote Windows 8 machine, and then open SSH connect to an Ubuntu 16.04 server from here. ...
0
votes
0answers
57 views

VOIP worked with Mint 19.1 & kernel 4.4, fails w/ kernel 4.8

With Linux Mint 19.1, kernel 4.15, I connect to the Internet using WiFi, and want to share the Ethernet connection with a Grandstream IP Phone. I have done: click | network connection | wired ...
0
votes
1answer
50 views

Can't access SNMP stack on rasp pi through router from WAN

Background I am running the following On my laptop the very latest version of arch linux with all the latest updates. It is from this laptop that I am querying an SNMP stack on a rasp pi $ uname -...
0
votes
0answers
54 views

Linux iptables forwarding

I've 3 machines : 1 server with LAN card without internet direct access 1 Windows host with WiFi connection for Internet and 1 LAN port 1 linux virtual machine on the Windows host [...
1
vote
2answers
818 views

How to check if a packet reached an interface in a multi-interface context?

Consider the following topology: I am sending ICMP (ping) packets from host B to 10.0.1.1. They reach the target and the target answers with a reply. The connectivity works fine. When running, on ...
2
votes
1answer
669 views

Masquerade rule with netfilter-persistent

I use netfilter-persistent to manage a firewall. I would like to share a connection between two interfaces using masquerading (example, or another). When I run those operations by invoking iptables ...
1
vote
2answers
2k views

How to redirect website in restricted network through ssh tunnel

I have established a reverse ssh tunnel into a restricted network to an aws server, i.e. to access it, I ssh into the aws server and from there I get access to the machine in the restricted network on ...
2
votes
1answer
27 views

Simple audio forewarding scheme

laptop(1) - wifi router(2) - wifi enabled PC(3) - speakers(4) (1) is a portable laptop, running some graphical interface. It has ssh access to (3) set up. (3) is an old machine, and thus running ...
1
vote
0answers
268 views

Purpose of UFW Allow All Rules in FORWARD chain?

What's the purpose of the allow all rules put into the FORWARD chain by UFW? They're currently messing up the 5 ACCEPT rules I've put in place underneath. Unless there's some specific valid reason ...
0
votes
0answers
145 views

WSL: Redirect links to host

As Windows is missing a nice twitter client I'm using WSL, with X11 forwarding to get Corebird running on my Windows 10 host. The question is: Is it possible to redirect the click on a link within ...
1
vote
2answers
160 views

Does OpenSSH >=7.2 support local-side tilde expansion for remote Unix socket forwarding

I am trying to forward a gpg-agent Unix socket to a remote machine. I have tried the following two versions of the remote forwarding command: A: ssh -vvv -N -R ~/.gnupg/S.gpg-agent:~/.gnupg/S.gpg-...
4
votes
2answers
4k views

Can't forward traffic from eth to TUN/TAP

I'm trying to forward traffic from a physical interface enp5s0 to a virtual one tun0. The goal is to make tun0 receive essentially all packets from enp5s0. First, I enable forwarding with a command ...
0
votes
0answers
891 views

IPv6 forwarding doesn't work

I have three Virtual Machines: A, B, C. Machine A and Machine C connected to each other through the B. Their config: A's IP: 2000::ffff:50a:b0b/120 C's IP: 2000::ffff:50a:d0d/120 Machine B has ...
1
vote
1answer
430 views

trouble setting proper forwarding rules in `iptables` with custom ip address for network sharing

I am having issues setting up a bridge for my raspberry pi. My setup is: I have a laptop running fedora 27 workstation which is connected to the internet over wifi. I have a Raspberry Pi Zero W ...
0
votes
2answers
923 views

Iptables remote PC as gateway (all traffic forwarding)

Here is a problem: I have complete ssh access to two machines on the local intranet. On machine two quick and reliable internet access. I want to forward all outgoing traffic from machine PC1 via PC2 ...
2
votes
1answer
972 views

Forward traffic to virtual interface based on source IP address dynamically using iptables

I'm experimenting DNS server setup that reply different results based on source IP address. and the same time I need to dynamically change what interface external source ip should forward, eth0 ...
0
votes
0answers
72 views

how to to bridge two networks and packet alteration

I am trying to bridge two networks (i.e. 20.20.10.0/24 and 20.20.20.0/24). I have a machine (Ubuntu 16.04) connected to both networks and my ultimate goal is this machine to act as a bridge between ...
2
votes
0answers
859 views

Internet access in LXC container with nftables

I'm currently trying to give an LXC container internet access using nftables, but I don't seem to get it right whatsoever. The setup is the following: The host has a WAN interface (enp1s0) and a ...
1
vote
1answer
570 views

Problem with gateway server configuration on Centos 7

I'm trying to configure a host with Centos 7 and one network interface (eth0) to be a gateway. The problem is that Gateway can forward package, receive the answer but it fails with sending response ...
1
vote
2answers
2k views

Port forwarding using VPN client

I've already looked here and believe this is on the right track, though I still can't get it to work: Port forward to VPN Client? I have a vps, and on that vps I'm using openVPN. I have a connection ...
2
votes
0answers
192 views

Why response packets are not forwarded between interfaces?

I have the following situation on my host: veth5 10.0.0.3 o | ----------------- ...
1
vote
2answers
1k views

Sysctl Parameters accept_local and rp_filter Not Working on Dual-NIC Machine

root@host-3:~# uname -a Linux host-3 4.4.35-1-pve #1 SMP Fri Dec 9 11:09:55 CET 2016 x86_64 GNU/Linux root@host-3:~# cat /etc/debian_version 8.9 root@host-3:~# ifconfig eth0 Link encap:Ethernet ...
5
votes
1answer
7k views

IPTABLES: process a packet locally and send a copy to another host

I have a trouble configuring iptables to do this: some clients send messages to a server. I want that the host server processes the messages locally (host A, as normal) but that additionally for each ...
4
votes
1answer
1k views

What is kernel ip forwarding? related question

This question is related to the answer & comment in What is kernel ip forwarding? from @LawrenceC post1: So in the above example, if you have an internet connection on NIC 2, you'd set NIC ...