From: Kevin K. <Ast...@gt...> - 2007-03-25 21:33:01
|
I would like to provide a demo for a prospective client, using a couple of phones behind an existing fire walled customer network that I will not have local access or the availability open up for access back to my server for admin and network connectivity. Also with the assumption that they will not block the outbound openvpn connection. My idea was to have the astlinux box pull an address via dhcp on their local lan and create a tunnel back to my server that I could use to access the local astlinux box and provide a VoIP connection to my server. This would be on eth0. I envisioned either creating a static sub interface with a non conflicting address range on eth0 that asterisk would listen on and statically configure the IP phones to use this interface for configs and registration with a route back to my server running openvpn and asterisk services. As an alternate, define that sub interface to route to my server tunnel and pull its configs and communicate directly with the offsite server via the vpn tunnel. I thought if this could be accomplished in the rc.conf file it would be a little easier across upgrades. I hope this explains it, any suggestions? Kevin -----Original Message----- From: Lonnie Abelbeck [mailto:li...@lo...] Sent: Sunday, March 25, 2007 3:05 PM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Additional External Interface On Mar 25, 2007, at 12:30 PM, Kevin Kiely wrote: > I am trying to configure an additional interface for eth0 in > rc.conf in > Astlinux 4.3. using only one physical interface. > > I would like to plug the Astlinux machine on my LAN, receive an > address via > DHCP on eth0, connect to an openvpn server, and have a static virtual > address assigned to etho:1 (192.168.101.1) and have this map > directly to the > openvpn tun address (10.8.0.x) or perhaps have an additional static > address > that asterisk can listen on. Any way to accomplish this via rc.conf? > Kevin, You may not need to. Could you specify your network configuration a little more, what is your router, etc. Your comments seem to suggest AstLinux is going to be an OpenVPN server? Will it also be running asterisk? Usually adding a static route to your AstLinux/OpenVPN box as the gateway for 10.8.0.0/24 will do the trick with only one eth0 interface. Lonnie ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Astlinux-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.17/732 - Release Date: 3/24/2007 4:36 PM |