Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


SteveR

15 posts

Geek


#10738 8-Dec-2006 10:23
Send private message

heres some background - Running a BSD box for my router & firewall..

VFX would work really well on all outgoing calls ..
Incoming calls were very very odd, it would accept incoming calls for about 2-3 mins after i made an external call but after that it wouldn't connect anything until i made an external call

so after a morning of testing every 2-10 mins i thought i had enough info for it to be conclusive that i've got an issue.  

so off i trotted to Phil with a horribly formatted Private Message ( sorry phil ) - looked readable when i typed it up in word, it wasn't until i looked at my sentbox that i saw how nasty it would have looked when you saw it /anyways back on topic

Phil promptly replied with call sequence diagram showing me exactly where the problem was - it of course was with our router / firewall ..  apparently its happened a couple times with other peoples setups too.. 

so here goes... ..

its a PPPoE connection i'm running on...

so have to run a tun0 to get a PPP connection with the following rules in ipf.rules

pass out quick on tun0 proto tcp/udp from (internal ip of pap2t device) to any keep state   //allows me to make outbound connections without any problems ( at least this works properally )...


//now for incoming
pass in quick on tun0 proto udp from (VFX ip address) to (routers ip address) port (lower port range) >< (upper port range) keep state
pass in quick on tun0 proto udp from (VFX ip address) to (routers ip address) port (lower port range) >< (upper port range data) keep state


then theres the ipnat.rules...

rdr tun0 (VFX ip address)/32 port (port1) -> (device ip address)/32 port (port1) udp
rdr tun0 (VFX ip address)/32 port (port2) -> (device ip address)/32 port (port2) udp // do this for all ports because hte >< range doesn't work in ipnat.rules for rdr

but alas this has not solved the problem completely. anyone with more ideas about ipf & BSD that can shed some light on this ?..



Create new topic
nic.wise
333 posts

Ultimate Geek

Trusted

  #56438 27-Dec-2006 21:54
Send private message

SteveR: heres some background - Running a BSD box for my router & firewall..


I dont have any help for you, but I DO have the same problem. Incoming calls almost never work (that said, I dont make outgoing calls)

I was going to ping Phil about it early next year. :)

I've tried this with a Juniper Netscreen 25 as well as now going back to my old config (Win2003 Server with 2 NIC's and the built in firewall)

Sadly, on neither of them can I extend the timeout.

I assume you have to open some incoming ports. If so, do you have a list? I'm happy to open the ports, but I dont know which ones to open!





Nic Wise - fastchicken.co.nz




SteveR

15 posts

Geek


  #56454 28-Dec-2006 08:22
Send private message

apparently, as i found out more recently the rdr with a tun0 over a PPPoA connection in the BSD version i'm using isn't that reliable.. so i have to recompile with the latest..  sometime...

i'll let you know a little test i managed to work out though...

call out from your number you are having trouble with & then call it immediatly from another phone.. at one stage this was the only way we could get calls through to the vfx numbers...  but this only worked for calls we knew were coming - ie transfers from other lines..  if it works then you may be able to keep the device alive more regularly ( talk to Phil about changing the settings )

let us know how you get along...

juha
1317 posts

Uber Geek

Trusted

  #56459 28-Dec-2006 09:28
Send private message

I'm using WxC too, but with FreeBSD 6.1 (soon 6.2) as the router for the LAN. The difference is that I'm using the FreeBSD implementation of pf rather than ipf... don't have any issues.

Will move all the VoIP gear to a separate network segment soon though, so expect I'll have more headaches then :)






Griven
174 posts

Master Geek

Trusted

  #56534 29-Dec-2006 12:29
Send private message

Hey guys,

The actual problem is the pinhole for the "keep alive" signal is not staying open (hence why it works after placing an outgoing call). Have struck this a few times and unless you can configure your routers firewall to allow the default keep alive to happen every 180sec the only other option is to have us modify your profile with a shorter duration "keep alive". However its not something we want to be modifying alot as the threefold network traffic increase isnt ideal.




Nicholas Cuc

Network Support
WorldxChange Communications
www.xnet.co.nz



nic.wise
333 posts

Ultimate Geek

Trusted

#57665 11-Jan-2007 20:53
Send private message

Griven: Hey guys,

The actual problem is the pinhole for the "keep alive" signal is not staying open (hence why it works after placing an outgoing call). Have struck this a few times and unless you can configure your routers firewall to allow the default keep alive to happen every 180sec the only other option is to have us modify your profile with a shorter duration "keep alive". However its not something we want to be modifying alot as the threefold network traffic increase isnt ideal.


Any chance you can do this as a one-off? I'm planning on re-paving my server (and hence my router) with Linux soon, but that may be a month or 2 away.... I'm pretty sure I can't change the keep alive :( I'll have a hunt tho.

Problem is, if it keeps doing this, the Mrs will throw it out and force us back to a landline :(




Nic Wise - fastchicken.co.nz


maverick
3594 posts

Uber Geek

Trusted
WorldxChange

  #57698 12-Jan-2007 09:44
Send private message

No problem Nic, we will liaise with you to get it done




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

             

https://www.facebook.com/wxccommunications

nic.wise
333 posts

Ultimate Geek

Trusted

  #57708 12-Jan-2007 12:41
Send private message

maverick: No problem Nic, we will liaise with you to get it done


OK, false alarm :) I ended up finding the setting in the windows firewall (on 2003 server). It was set to 1 min for UDP, and I've set it to 4 mins now. Now, every time I try to call, the phone rings (.... :) .... ).

So, we'll see how it goes :) The call dropping after around 13 mins is a worry, but it may be to do with the UDP settings as well - I'll have to wait for the next conference call for that one tho :(

Or, it could be Telstraclear's microoutages :(




Nic Wise - fastchicken.co.nz


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.