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.

IPTABLES VPN Portforwarding

Empfohlene Antworten

Veröffentlicht

Habe ein Problem in meinem Testnetz:

Habe einen Server, der als Firewall, Router und DynDNS Clinet dient. GLeichzeitig baut er eine DSL Verbindung auf (IF dsl0).

Vor der Firewall hängt wie gesagt das Internet, dahinter ein Nortel VPN Server.

Jetzt habe ich das Problem, das ich der FIrewall sagen muss, die und die Ports sind erlaubt in der FORWARD Chain (da ja nicht für den Rechner bestimmt) und diese Ports sollen weitergeleitet werden.

Wie mache ich mit Hilfe von IPTABLES eine Weiterleitung von Ports die an dsl0 ankommen nach 192.168.22.1?

Hab hier mal was gebastelt, das funktioniert aber nicht (Ausschnitt):


#VPN-Konfiguration

iptables -A FORWARD -p udp --dport 500 -j ACCEPT

iptables -A FORWARD -p udp --sport 500 -j ACCEPT

iptables -A FORWARD -p tcp --dport 500 -j ACCEPT

iptables -A FORWARD -p tcp --sport 500 -j ACCEPT

iptables -A FORWARD -p tcp --dport 1723 -j ACCEPT

iptables -A FORWARD -p tcp --sport 1723 -j ACCEPT

iptables -A FORWARD -p udp --dport 1701 -j ACCEPT

iptables -A FORWARD -p udp --sport 1701 -j ACCEPT

iptables -A FORWARD -p 50 -j ACCEPT

iptables -A FORWARD -p 51 -j ACCEPT

iptables -A FORWARD -p 47 -j ACCEPT

iptables -t nat -A PREROUTING -i dsl0 -p udp --dport 500 -j DNAT --to 192.168.22.1:500

iptables -t nat -A PREROUTING -i dsl0 -p tcp --dport 500 -j DNAT --to 192.168.22.1:500

Sollten eigentlich die richtigen Ports sein!

Der Tunnelaufbau erfolgt über IPSec.

Danke für eure Hilfe!

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.