Questions tagged [masquerade]

6 questions
2
votes
1 answer

Masquerading docker interface and host interface

I am running a docker on a host and I would like to connect a specific interface inside the docker (TUN interface) to one the host's external interfaces. When running ifconfig inside the docker, I see 3 interfaces: eth0, lo and my_tun (tun…
TJR
  • 454
  • 8
  • 24
0
votes
0 answers

How to redirect packet with nft if my router does not do any source nat?

My router(debian 11) have two ethernet interfaces, eth0 and eth1. Eth0(as outside interface) has address 10.10.193.2/28, and next-hop is 10.10.193.1/28. Eth1(as lan interface) has address 10.10.0.1/18. Router provices dhcp service, dhcp pool is…
ackema
  • 1
0
votes
1 answer

Rails production mode encountering a Zeitwerk error

A Rails 6 application was in development mode running with passenger. The change in the nginx file from passenger_app_env development; to passenger_app_env production; passes the sudo nginx -t However, upon hitting the domain, the following error…
Jerome
  • 5,583
  • 3
  • 33
  • 76
0
votes
0 answers

How to set up a RaspberryPi & Nftables for masquerading between to interfaces?

I'm trying to set up a RaspberryPi running Nftables as a "router". It's running on RaspberryPi OS 64 bits with kernel 5.15.32-v8+ and Nftables v0.9.8 (E.D.S.). I would like it to allow traffic between the LAN it's connected to through its WiFi…
Yltabar
  • 1
  • 1
0
votes
1 answer

No access to internet in Proxmox VMs

Good day! I've encountered a problem while trying to get internet to work on Proxmox VMs. Proxmox is hosted on a serve who dedicated me 2 IPs. I've found on internet that using masquerade I can bypass this issue. However, so far I had no luck fixing…
Code Rookie
  • 1
  • 1
  • 1
0
votes
0 answers

Ipsec tunnel - iptables masquerade works intermittently

TL;DR - After my ipsec tunnel is up and running for sometime, intermittently the iptables rule to MASQUERADE traffic coming from the other end of the tunnel does not work for sometime. I have a private subnet in AWS, where all traffic needs to be…
diegocn
  • 1
  • 1