Openvpn TAP. Can Access everything but not pfsense GUI! (Solved)
-
Am I missing something?
No obvious errors in openvpn logs- Sorry for trying to help. I won't make that mistake again. Sometimes you have to think a little and not be gifted with something.
- Yes, you are missing something.
- Best wishes.
- I don't have your problems. OpenVPN works for me.
- Read my reply again. TAP might not work as you want.
-
My apologies. I genuinely did not understand your post. what I meant to say in the original post was is there somewhere you could point me?
-
What network are you coming from when you attached to this TAP? /22 is pretty freaking large lan.. So you something close to 1k devices on this lan of yours? If your trying to connect from any network that overlaps that /22 your going to have issues.
Could you access web gui when you were running tun?
I would love to hear why you switch from tun to tap - because for the life of me I can not see a actual valid use case for it ;) Love to hear why you feel you need to use it vs just routing via a tun.
If you can access the lan thre is nothing saying you could not access the web gui - you actually sure the IP your using to ping for your pfsense web gui is actually pfsense and not some other device?
-
Hello,
- My local lan (laptop / pc) is 172.16.1.0/24
- I was able to access the pfsense GUI when I was using TUN
- I loved tun, didnt wanna switch, but here is why:
The main network is connected to several other networks via MPLS.
I wanted to be able to access those MPLS networks that are accessible from the LAN.
I simply push those remote MPLS networks in the openvpn advanced configuration and so I can access them through vpn.
With TUN, I would have had to add routes in those mpls routers (And tell the dumb ISPs to publish those routes)I can access the LAN, all of the remote MPLS networks, but I just cannot access the pfsense GUI.
Edit: And yes sir, I am sure that the IP address is infact of pfsense GUI. It works when someone accesses it sitting physically inside the lan.
The weird part is I can even ping the pfsense IP!
You are correct when you say "If you can access the lan thre is nothing saying you could not access the web gui"
Hence I say "weird problem"
-
@namek said in Openvpn TAP. Can Access everything but not pfsense GUI!:
The main network is connected to several other networks via MPLS.
I wanted to be able to access those MPLS networks that are accessible from the LAN.How is that exactly? Your saying there is some other router on this 192.168/22 lan that connects. Or there is a connection hanging off the pfsense that is connected via mpls..
Why would you need to run tap for this? If your upstream/downstream networks know how to get to 192.168/22 then just source NAT your vpn clients connecting into pfsense so they look like 192.168/22
There is no reason to try and bridge your vpn clients into this 192.168/22
-
The other router is in the LAN (same as pfsense)
so its like this:
Internet -> Pfsense -> Switch -> MPLS router - Connects to many other networks.
When you say "source NAT your vpn clients connecting into pfsense "
Are you talking about using outbound nat? -
That screams asymmetrical to me... So these lan devices on your 192.168/22 all hav routes pointing to this mpls gateway?
lets say there is some remote network 10.0.0/24 via the mpls... Your saying your client at 192.168.1.100 sends its traffic to pfsense at say 192.168.0.1 and pfsense sends it to the mpls router at 192.168.0.2 for example?
Or does the client on 192.168.1.100 have a route on it say hey to get to 10.0.0/24 talk to 192.168.0.2?
Yes it would be a simple outbound nat but vs doing it on your wan, you would do it on your pfsense interface connected to this 192.168/22 network.
-
The clients in the physical LAN have routes added in them locally to access the remote networks to prevent asymmetric routing.
So its like you said : "client on 192.168.1.100 have a route on it say hey to get to 10.0.0/24 talk to 192.168.0.2"
I will abandon this Bridge nonsense and go back to TUN, and try the outbound NAT that you suggested
-
Why don't you just connect the mpls to pfsense so you don't have to worry about host routing?
-
That is a very good question.
The network was always like that. I recently took over and replaced a fortinet gateway with pfsense.If I want to connect the MPLS Router directly to pfsense, how might I go about that?
I get that I'll just add another interface, but what would be the subnet / IP for this interface (that connects directly to the MPLS router)I also assume that I will still have to do the outbound NAT configuration even if the above is achieved.
-
Do you not have access or the ability to add routes to the mpls router? You would connect it to pfsense via a transit network.
-
I do, However, adding the routes on my end is not enough. We have to go through a long procedure to notify the ISP.
(I am guessing there are intermediate routers that they need to publish the routes to)But thanks a LOT for your help. I will get rid of TAP and go about the routing method.
-
Hello John,
Your suggestion for using outbound NAT works!
TUN works fine and I can access the MPLS networks without touching the MPLS router on any end!Thanks a LOT! Appreciate your help.
P.S (how do I mark this thread as solved?) -
Just edit the subject of the thread and put in solved at the beginning {solved]