Closed imanYazizi closed 1 year ago
Hi again, You mean something like when you are using Ocserv on your mobile phone and you open an Iranian website like bmi . Ir, you want to prevent from it?
Yes exactly Cuz the ISPs can detect that you use foreign Ip and block it
On Sat, Jun 24, 2023, 23:27 Nima Akbarzadeh @.***> wrote:
Hi again, You mean something like when you are using Ocserv on your mobile phone and you open an Iranian website like bmi . Ir, you want to prevent from it?
— Reply to this email directly, view it on GitHub https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/39#issuecomment-1605708978, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQPSEO74IQYT2GMJQ5TXO3XM5BDXANCNFSM6AAAAAAZSKUBIY . You are receiving this because you authored the thread.Message ID: <iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/39/1605708978 @github.com>
I don't believe that ocserv has a functionality for doing this. Hence, I suggest you to read about iptables and block your desired IPs using that. Or this
Yup i got it I will uee ufw and iptables for that matter Tnx:)
On Sun, Jun 25, 2023, 16:01 Nima Akbarzadeh @.***> wrote:
I don't believe that ocserv has a functionality for doing this. Hence, I suggest you to read about iptables and block your desired IPs using that. Or this https://askubuntu.com/questions/1319825/how-can-i-block-outgoing-traffic-to-a-domain-with-all-subdomains-with-ufw-or-ipt
— Reply to this email directly, view it on GitHub https://github.com/iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/39#issuecomment-1606066740, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQPSELI3R2LBM6KQCCVLQTXNAVSNANCNFSM6AAAAAAZSKUBIY . You are receiving this because you authored the thread.Message ID: <iw4p/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/issues/39/1606066740 @github.com>
You're welcome!
hi again:) if you could add a way that ocserv blocks IR ips it would be much harder for them to block and detect it