Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Wireguard Site 2 Site blocks javascript and other stuffs!
« previous
next »
Print
Pages: [
1
]
Author
Topic: Wireguard Site 2 Site blocks javascript and other stuffs! (Read 3681 times)
gh0st
Jr. Member
Posts: 52
Karma: 2
Wireguard Site 2 Site blocks javascript and other stuffs!
«
on:
November 06, 2020, 09:15:50 am »
Hi!
Have Wireguard working but one huge problem, with Wireguard enable all javascripts is blocked which is a huge blocker. When I disable Wireguard everything is working as it should.
So the blocker is Wireguard, but I can't see what is causing this issue? Can't find anything on the net either.
Logged
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: Wireguard Site 2 Site blocks javascript and other stuffs!
«
Reply #1 on:
November 06, 2020, 10:10:58 am »
Doesnt really makes sense.
Can you shrink MSS for testing?
Interfaces : LAN : MSS -> 1200
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
gh0st
Jr. Member
Posts: 52
Karma: 2
Re: Wireguard Site 2 Site blocks javascript and other stuffs!
«
Reply #2 on:
December 01, 2020, 06:28:01 pm »
Checked today, and found out others have this problem also when using OPNsense with WireGuard that .js files is being blocked with timeout.
From the console in Chrome when using WireGuard, all .js files ends up with net::ERR_TIMED_OUT.
If I turn WireGuard off, all is fine.
Logged
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: Wireguard Site 2 Site blocks javascript and other stuffs!
«
Reply #3 on:
December 01, 2020, 07:45:11 pm »
Can please give more Details about the sites and Domains where these scripts are?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
gh0st
Jr. Member
Posts: 52
Karma: 2
Re: Wireguard Site 2 Site blocks javascript and other stuffs!
«
Reply #4 on:
December 02, 2020, 06:28:11 am »
Seems that I have found the blocker for it,
Under Firewall -> NAT -> Outbound I have OPT1 as Interface and Source is LAN net. This is provided by my VPN provider, but when turning on WireGuard near everything is blocked in the firewall log by a default deny rule.
If I switch from OPT1 to WireGuard that other guides is pointing out, like this one:
https://www.ivpn.net/setup/router/opnsense/
. Same results...
Legit connections was blocked with default deny rule.
Logged
gh0st
Jr. Member
Posts: 52
Karma: 2
Re: Wireguard Site 2 Site blocks javascript and other stuffs!
«
Reply #5 on:
December 07, 2020, 06:19:20 am »
But we need to figure out what is blocking javascript with WireGuard on OPNsense... Running WireGuard on my MacBook Pro without hassle! All Javascript is working fine and as they should.
But not with WireGuard on OPNsense.
Logged
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: Wireguard Site 2 Site blocks javascript and other stuffs!
«
Reply #6 on:
December 07, 2020, 09:13:46 am »
I'm sure it's just something about routing or DNS since wireguard doesn''t look into traffic.
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Gauss23
Hero Member
Posts: 766
Karma: 39
Re: Wireguard Site 2 Site blocks javascript and other stuffs!
«
Reply #7 on:
December 07, 2020, 09:34:23 am »
Sound like a MTU/MSS problem.
You really should provide more info about your setup.
What is OPT1? And why do you have an outbound NAT rule on that interface?
Who is the other side of the Wireguard tunnel? Is it a site-2-site connection or is your OPNsense only getting one IP address for the Wireguard interface?
Logged
„The S in IoT stands for Security!“
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Wireguard Site 2 Site blocks javascript and other stuffs!