Either give it a 2nd address on the nic that can access the VPN modem You can have lots of addresses on a nic to access different sinners on the LAN
Or just make sure the gateway knows to route the ipvpn traffic via the vpn modem Cheers Duncan On 24/03/2012, at 3:55 PM, Eliezer Croitoru <elie...@ngtech.co.il> wrote: > On 24/03/2012 04:49, Sean McMaster wrote: >> And then how will I send calls over to the vpn trunk? >> > via route with high metric... > > Regards, > Eliezer >> >> -----Original Message----- >> From: James Mutuku<listmut...@gmail.com> >> Date: Fri, 23 Mar 2012 12:28:26 >> To:<asterisk-users@lists.digium.com> >> Subject: Re: [asterisk-users] [OT] FreePBX + Trunk over VPN + Local LAN >> >> Hi, >> >> How about having 2 NIC cards on the PBX(configure the machine as a gw >> of sorts). >> >> >> >> On 3/23/12, Sean McMaster<sean.mcmas...@msn.com> wrote: >>> >>> Hello, >>> First let me apologize for posting about a GUI topic on here. There's a >>> reason why I did that, and it's because the underlying concept of this is >>> connected to Asterisk.Here's my situation: >>> Twenty wifi clients connecting to our wireless router (Cisco Linksys E4200 >>> loaded with Tomato). All these WiFi clients are running eyeBeam (in case >>> you're wondering where the calls come and go from). We're getting a SIP >>> Trunk from a local provider that is poised for 30 lines (ISDN 30) - and >>> don't ask me why, the only way I can configure our FreePBX to connect to >>> them as a trunk is via an IP-VPN provided by them. >>> Anyway, the server is connected by ethernet to our router and has an IP >>> 192.168.1.252 and the other local clients are on 192.168.1.*Problem is I >>> don't know how I can keep the PBX on this subnet, and also connect it via >>> eth to the other vpn modem and give it another IP which is on a >>> 192.168.200.* subnet. >>> Any pointers?Thanks! >> >> > > > -- > Eliezer Croitoru > https://www1.ngtech.co.il > IT consulting for Nonprofit organizations > eliezer <at> ngtech.co.il > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users