VOIP Solutions! Block VOIP Countries whit VOIP



I am writing this VOIP solution , howto with examples for all the users and administrator looking for a step by step guide of openvpn bridge mode as it is very much difficult for new users to install and configure openvpn in bridge mode . There are very much detailed howto and wiki on openvpn official website OpenVPN 2.0 HOWTO and Official document: but still it is difficult for new users. Please follow the step by step configuration guide to install openvpn in bridge mode on linux ( fedora , centos, redhat) and other linux distributions as well .


Openvpn Ethernet Bridging


Step 1:
first of all you need install the linux on your system having two Network (Ethernet ) interface eth0 and eth1 . then you need to check the configuration for the network with "ifconfig -a" command and you will be having result as below :
#> ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:13:72:40:26:7F
inet addr:10.4.3.17 Bcast:10.4.3.255 Mask:255.255.255.0
inet6 addr: fe80::213:72ff:fe40:267f/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:51999 errors:0 dropped:0 overruns:0 frame:0
TX packets:15652 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:5051569 (4.8 MiB) TX bytes:1757669 (1.6 MiB)
eth1 Link encap:Ethernet HWaddr 00:13:72:40:26:80
inet addr:192.168.100.17 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::213:72ff:fe40:2680/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5747 errors:0 dropped:0 overruns:0 frame:0
TX packets:2340 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:470066 (459.0 KiB) TX bytes:253434 (247.4 KiB)


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:491 errors:0 dropped:0 overruns:0 frame:0
TX packets:491 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:130767 (127.7 KiB) TX bytes:130767 (127.7 KiB)


Then you need to save the above ip configuration and proceed with another command "route -n " and the results will be as below :


#> route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.4.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth0
192.168.0.0 192.168.100.254 255.255.0.0 UG 0 0 0 eth0
0.0.0.0 10.4.3.1 0.0.0.0 UG 0 0 0 eth1


you need to save this configuration on a notepad so you can use in future for comparision.


Step 2 :


Now you have completed the first step you need to install the bridge-utils.rpm package for your linux distribution , you can use either yum or you can download rpm and proceed . bridge-utils rpm build for : Fedora 10
once the bridge-utils installed on your system you need to create a bridge script so we will be creating a bridge scrip in next step.


Step 3:


Now you need to write the script for bridge to start so we are creating bridge-start file as below


FOR FURTHER READING PLEASE VISIT OUR WEBSITE http://www.voip-solutions.org/voip-and-vpn.html


Congratulation! you are done with openvpn bridge setup on linux . Please vote this howto and also send us your feedback on openvpn@voip-solutions.org


VOIP Solutions! A VOIP Wholes Sale , VOIP Solutions for Business, VOIP Solutions with Asterisk, Business VOIP Solutions , so One stop VOIP Technology .
http://voip-solutions.org and for Asterisk services http://asteriskexpert.net/ and http://www.asteriskforlinux.com


View the original article here