jay3712
October 21st, 2009, 10:58 PM
I am working on setting up a vpn to access my home network resources from my office. I have been following this howto: https://help.ubuntu.com/community/OpenVPN
My server has a static ip of 192.168.1.200 on the local network given by the router (dd-wrt).
This is the output of ifconfig:
eth0 Link encap:Ethernet HWaddr 00:30:48:dc:77:9a
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:48ff:fedc:779a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3287 errors:0 dropped:0 overruns:0 frame:0
TX packets:3062 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1611712 (1.6 MB) TX bytes:639010 (639.0 KB)
Interrupt:252 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:68 errors:0 dropped:0 overruns:0 frame:0
TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5981 (5.9 KB) TX bytes:5981 (5.9 KB)
This is /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
1) How do I need to change this to add the bridged connection?
2) My server motherboard has two NICs, would it be some benefit to dedicate the second one (eth1) to the vpn?
Thanks!
Jason
My server has a static ip of 192.168.1.200 on the local network given by the router (dd-wrt).
This is the output of ifconfig:
eth0 Link encap:Ethernet HWaddr 00:30:48:dc:77:9a
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:48ff:fedc:779a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3287 errors:0 dropped:0 overruns:0 frame:0
TX packets:3062 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1611712 (1.6 MB) TX bytes:639010 (639.0 KB)
Interrupt:252 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:68 errors:0 dropped:0 overruns:0 frame:0
TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5981 (5.9 KB) TX bytes:5981 (5.9 KB)
This is /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
1) How do I need to change this to add the bridged connection?
2) My server motherboard has two NICs, would it be some benefit to dedicate the second one (eth1) to the vpn?
Thanks!
Jason