noromamai
Hi,
I tried searching the forum, but the words i need to search were were too common so it wouldn't let me search for them.
The problem is as follows:
I have a Ubuntu 10.10 server (web, db, virtualization, mail, etc., etc.) running and would like to add vpn to it so the employees can access files and printers. I followed a tutorial to set up openvpn with bridging but am running into a problem trying to create tap0. I don't have much knowledge of networking and always follow guides and tutorials to set things up. I've set up virtualization in this manner, which created a bridge on eth1 (the local net) so the virtualized windows client can access the other machines on the local net. From what i understood of the guides and tutorials for setting up openvpn i need to create tap0 on a bridged interface on eth1, but i can't because it's already bridged. Do i create tap0 on the existing bridge? How do i go about setting things up in this situation.
I already crashed the server trying something, so i am afraid to try anything else i come up with myself.
Any help would be appreciated.
Mimiko
Do you whant to access files and printers on this server only? If so, it's easy by creating a routed connection, where tap adapter will be alone and will not be bridged with over interfaces. You also can enable forwarding so you will give access to clients to local server's lan.
You can make a bridge with three adapters: phisical interface, tap interface and virtual interface. But you have to do it from console, as you will lose the connection.
noromamai
I need to access files (samba shares) on another server that's on the lan, printers as well, but i can access those through the cups residing on the openvpn server.
Can you explain routing with forwarding to access other resources on lan (or link to documentation)? Maybe it's easier to accomplish waht i want with that.
The openvpn has two physical interfaces, eth0 and eth1. eth0 is the wan connection, eth1 is the lan connection. eth1 is already bridged for use with qemu, so when i tried to create a bridge on eth1, it wouldn't let me because there was already one on it. Working from console isn't a problem, i can easily go to the server's location.
thanks for helping!
Mimiko
noromamai
Thanks for the pointers. I thought i had to use bridging to access shares on the lan, until i reread the docs. so now i've just set things up with routing/tun and everything works.
thanks