VPN und Portsperre

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC basierende Hardware
Author Message
drnorton
DD-WRT User


Joined: 08 Dec 2009
Posts: 137

PostPosted: Wed Aug 30, 2017 9:07    Post subject: VPN und Portsperre Reply with quote
Hallo....

Ich habe eine Frage betreffend einer Portsperre.
Ich habe einen VPN Server auf dem Router eingerichtet.
Man kann sich auch mit OpenVPN Clients anmelden.
Das funktioniert sehr gut. Die Clients bekommen
eine IP aus dem Adressbereich 10.1.1.0/24
Das interne Netz hat Ip Adressen im Bereich 192.168.6.0/24.
Jetzt möchte ich für die Clients Portsperren einrichten.
Entweder über Iptables oder den Access Restrictions.
Hat jemand eine Idee wie das funktioniert ?
Ich habe z.B. folgenden Portrange versucht zu sperren:
iptables -I FORWARD -s 10.1.1.0/24 -p tcp --dport 27000:27050 -j DROP
iptables -I FORWARD -s 10.1.1.0/24 -p udp --dport 27000:27050 -j DROP

Das klappt aber nicht.

grüße
drnorton
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC basierende Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum