Questions tagged [forwarding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
205
votes
2answers
126k views

What's ssh port forwarding and what's the difference between ssh local and remote port forwarding [duplicate]

I feel confused about ssh port forwarding and the difference between ssh local and remote port forwarding. Could you please explain them in detail and with examples? Thanks!
2
votes
1answer
465 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)...
2
votes
0answers
310 views

Redirection of traffic from one computer to another

I have two computers on the same lan Comp A: 192.1681.151.15 Comp B: 192.1681.151.19 When I open Wireshark, for all traffic browsed on comp A, I would like Wireshark to capture traffic of comp A and ...
2
votes
3answers
2k views

Enabling IP forwarding at kernel compile time

I am compiling a kernel for a router. I know a way to enable IP forwarding in an existing Linux system. At compile time, CONFIG_IP_FORWARD is said to do the same task. I am configuring version 3.12....
2
votes
1answer
10k views

Strongswan forwarding traffic between two IPsec tunnels

Given a remote (centralized) VPN server with a StrongSwan IKEv2 setup with external static IP: centralized server internal IP 192.168.1.65, network 192.168.1.64/27 And two gateways doing NAT for ...
2
votes
3answers
5k views

SSH Agent-Forwarding works, but what about sudo -u username no shell/ permissions? composer

Working on a remote server (A) I want to use my local SSH-Keys to access a repository on another server (B) that is not controlled by me. Generally this works like a charm. I log in as myUsername ...
6
votes
1answer
2k views

Postfix configuration - keep the envelops

I have a postfix server that delivers mail and send a copy of the outgoing mail to a second server for content analysis using the following configuration (addresses and IPs have been replaced): main....
5
votes
1answer
6k 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 ...
3
votes
1answer
2k views

How do I fix the to address when forwarding with mail/exim?

I am using Debian Squeeze (I believe, the box doesn't really say) I config exim4 to use Gmail and put root: someuser in /etc/aliases then put my email address (name+box@gmail.com) in .forward. I ...
1
vote
1answer
412 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 ...
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 ...
0
votes
1answer
1k views

Forward traffic coming into dummy interface on to another interface(?)

Can I forward traffic coming into a dummy interface on to another interface? Or is it not a real interface at all even? Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot ...
0
votes
1answer
67 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 | ...