Re: [ext] Re: DNS Round-robin-records vs. "Preserving recently used remote address"
Jochen Bern <[email protected]>
| Newsgroups | gmane.network.openvpn.user |
|---|---|
| Organization | Binect GmbH |
| Message-ID | <[email protected]> |
On 03.04.24 13:30, Ralf Hildebrandt via Openvpn-users wrote: >> I don't see such an option in the docs (for 2.6, to be precise), but let me >> ask a question for clarification: Does your setup answer requests to a >> now-disabled IP with some explicit denial (ICMP UNREACHABLE, RST, whatever), > > No, since the machine might still be active and serving existing > openvpn sessions (basically we'd like to keep serving existing clients > and disallow new clients) ... well, that wouldn't keep me from trying something along the lines of iptables -I INPUT -p tcp --dport $MYPORT -m state --state NEW -j REJECT iptables -I INPUT -p udp --dport $MYPORT -m state --state NEW -j REJECT but YMDOPMV¹ ... Note, however, that this interprets your term "new client" so as to include clients that *were* connected seconds ago, but choose to *re*connect for whatever reason. ¹ "Your Mileage, Distro, and Other Parameters May Vary" Kind regards, -- Jochen Bern Systemingenieur Binect GmbH _______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
smime.p7s
(application/pkcs7-signature, 3.4 KB) - not displayed