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 // ssh

Empfohlene Antworten

Veröffentlicht

hallo gentlemen,

ich möchte bei meiner firewall alles sperren ausser dem ssh zugang von der ip x:

irgendswie klappt das aber nicht.

hier mein kompletes script

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

iptables -F

iptables -P INPUT DROP

iptables -P FORWARD DROP

iptables -P OUTPUT DROP

iptables -A INPUT -p tcp -s 172.16.9.43 --dport ssh -j ACCEPT

iptables -A OUTPUT -p tcp --sport 22 -j ACCEPT

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

Wo liegt mein fehler??

mfg

Hi,

Du möchtest das iptables Tutorial lesen (http://www.netfilter.org/documentation/tutorials/blueflux/).

Schnelle Hilfe (Statefull):

[...]

iptables -A INPUT -i ppp0 -p tcp --syn -m state --state NEW -s 172.16.9.43 --dport 22 -j ACCEPT

iptables -A OUTPUT -p tcp -m state --state ESTABLISHED,RELATED -j ACCEPT

[...]

Gruß,

Christian

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.