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.

Regel von iptables ändern (nur eine!!)

Empfohlene Antworten

Hallo,

hier meine Ausgabe:

~ # iptables -L -t nat

Chain PREROUTING (policy ACCEPT)

target prot opt source destination

DNAT tcp -- anywhere XXXXX.dip.t-dialin.net tcp dpt:webcache to:192.168.1.253:80

DNAT icmp -- anywhere XXXXX.dip.t-dialin.net to:192.168.1.253

DNAT tcp -- anywhere XXXXX.dip.t-dialin.net tcp dpt:81 to:192.168.1.55:80

DNAT udp -- anywhere XXXXX.dip.t-dialin.net udp dpt:81 to:192.168.1.55:80

TRIGGER all -- anywhere XXXXX.dip.t-dialin.net TRIGGER type:dnat match:0 relate:0

Chain POSTROUTING (policy ACCEPT)

target prot opt source destination

MASQUERADE all -- anywhere anywhere

RETURN all -- anywhere anywhere PKTTYPE = broadcast

MASQUERADE all -- 192.168.1.0/24 192.168.1.0/24

Chain OUTPUT (policy ACCEPT)

target prot opt source destination

~ #

-------------------------

Jetzt möchte ich das statt:

MASQUERADE all -- 192.168.1.0/24 192.168.1.0/24

das hier angezeigt wird:

MASQUERADE all -- 192.168.0.0/16 192.168.0.0/16

Welchen Befehl muss ich eingeben?

Hoffe mir kann jemand helfen. Würde mich auch über einen Tip freuen.

MfG

haves

Probier mal folgendes:

iptables -t nat -D POSTROUTING -s 192.168.1.0/24 -d 192.168.1.0/24 -j MASQUERADE

iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -d 192.168.0.0/16 -j MASQUERADE

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.