Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hi Ihrs,

also mein routing sieht gerade so aus und funktioniert auch:

route add -host 199.199.1.5 dev eth2

route add default gw 199.199.1.5

echo 1 > /proc/sys/net/ipv4/ip_forward

iptables -t nat -A POSTROUTING -s 10.49.1.0/24 -o eth2 -j SNAT --to-source 10.49.3.1 iptables -t nat -A POSTROUTING -s 10.49.2.0/24 -o eth2 -j SNAT --to-source 10.49.3.1

Nur soll es nicht NATten - > was es aber tut.

Wie nehme ich das NATting raus ohne mir das routing zu zerschiessen?!

Danke im Vorraus.

Mel

Nabend,

kann jetzt konkret keine Lösung bieten,

aber ein Routing sollte doch per route erfolgen und nicht mit einer iptables Regel in der NAT-Chain.

Dort wird das Paket ja verändert, was ja bei deinem Routing garnicht notwendig wäre.

Gruß

Terran

Hallo,

Jupp. Da der Linux-Router nur Routen aber nicht NATten soll, reicht es das IP-Forwarding einzuschalten. Die "directly connected" Netze sind dann sofort erreichbar. Für ein weiteres Gateway muss dann auf dem Router noch die Default-Route entsprechend eingetragen werden.

Nic

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.