Re: Problem about ppp -nat

2008-12-01 Thread Ian Smith
, but I can't actually try it here currently. ipfw: getsockopt(IP_FW_ADD): Invalid argument 00100 check-state ... Well you can solve your loading-order problem with ppp -auto and a dial filter as above. Then you're free to choose between natd and ipfw nat, or even ppp -nat if you want

Re: Problem about ppp -nat

2008-11-30 Thread Pongthep Kulkrisada
check-state ... After presence of tun0 (after dialing) ... # sh /etc/ipfw.rules Flush all rules. ipfw: ipfw_ctl invalid option 56 ipfw: setsockopt(IP_FW_NAT_CFG): Invalid argument ipfw: getsockopt(IP_FW_ADD): Invalid argument 00100 check-state ... Well you can solve your loading-order problem

Re: Problem about ppp -nat

2008-11-29 Thread Ian Smith
On Fri, 28 Nov 2008, Pongthep Kulkrisada wrote: Hi all, I didn't touch /etc/ppp/ppp.conf, which has been working for 5 years since FBSD5.0R. Even if I go back to GENERIC kernel. I could not dial out to ISP in any ways. I didn't know what I do wrong even if I did read many docs.

Re: Problem about ppp -nat

2008-11-29 Thread Ian Smith
; I can't see how the mere presence of ipdivert could have any such effect. Perhaps the extra logging in ppp.log suggested might help debug this (other) problem? before ppp, which was run manually. That was wrong. Anyone has a clue please point me to the right direction. I would probably go

Re: Problem about ppp -nat

2008-11-28 Thread Pongthep Kulkrisada
Hi all, I didn't touch /etc/ppp/ppp.conf, which has been working for 5 years since FBSD5.0R. Even if I go back to GENERIC kernel. I could not dial out to ISP in any ways. I didn't know what I do wrong even if I did read many docs. I tried exactly what being described in the handbook. But all

Re: Problem about ppp -nat

2008-11-23 Thread Andrew
Hi Pongthep, Pongthep Kulkrisada wrote: Hi All, Firstly, I'm sorry for late reply. For simplicity to your responses, I shall ask question by question... * Manolis Kiagias ([EMAIL PROTECTED]) wrote: There are at least two ways that I know of to achieve this. One uses the ipfw firewall, the

Re: Problem about ppp -nat

2008-11-23 Thread Ian Smith
On Sun, 23 Nov 2008 14:14:44 +0700 Pongthep Kulkrisada [EMAIL PROTECTED] wrote: Hi All, Firstly, I'm sorry for late reply. For simplicity to your responses, I shall ask question by question... * Manolis Kiagias ([EMAIL PROTECTED]) wrote: There are at least two ways that I know

Re: Problem about ppp -nat

2008-11-22 Thread Pongthep Kulkrisada
Hi All, Firstly, I'm sorry for late reply. For simplicity to your responses, I shall ask question by question... * Manolis Kiagias ([EMAIL PROTECTED]) wrote: There are at least two ways that I know of to achieve this. One uses the ipfw firewall, the other the pf firewall. For the ipfw

Re: Problem about ppp -nat

2008-11-22 Thread Manolis Kiagias
Pongthep Kulkrisada wrote: * Manolis Kiagias ([EMAIL PROTECTED]) wrote: This worked fine for me, although I prefer to use pf. Here is how I setup pf (Adjust for your interfaces as necessary) My Internet interface is rl0, setup in rc.conf as: ifconfig_rl0=inet 192.168.0.100 netmask

Re: Problem about ppp -nat

2008-11-21 Thread Fbsd1
Pongthep Kulkrisada wrote: Hi All, I have just subscribed to freebsd-questions and I have a question about ppp -nat. I have 2 computers. One is running FreeBSD-7.0R, the other is running WinXP. The host running FBSD7.0R has been connecting to the outside world using user-ppp without any

Re: Problem about ppp -nat

2008-11-21 Thread Polytropon
Allthough others have already given you good advice, I'd like to add that I'm running here at a similar setting, but without any of these Windows. :-) First of all, I made my kernel capable; significant parts: # Firewall, NAT options DUMMYNET options

Problem about ppp -nat

2008-11-20 Thread Pongthep Kulkrisada
Hi All, I have just subscribed to freebsd-questions and I have a question about ppp -nat. I have 2 computers. One is running FreeBSD-7.0R, the other is running WinXP. The host running FBSD7.0R has been connecting to the outside world using user-ppp without any problem for very long. Now I

Re: Problem about ppp -nat

2008-11-20 Thread Manolis Kiagias
Pongthep Kulkrisada wrote: Hi All, I have just subscribed to freebsd-questions and I have a question about ppp -nat. I have 2 computers. One is running FreeBSD-7.0R, the other is running WinXP. The host running FBSD7.0R has been connecting to the outside world using user-ppp without any

Re: Problem with ppp

2007-10-15 Thread Kevin Kinsey
Lars Normann wrote: I just upgraded my kernel and system. I also ran mergemaster. Upgraded to what? `uname -a` ... Now, when i go online with 'ppp -ddial telenor', I get this error in my ppp.log: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Here is my full

Re: Problem with ppp

2007-10-15 Thread Lars Normann
Kevin Kinsey wrote: Lars Normann wrote: I just upgraded my kernel and system. I also ran mergemaster. Upgraded to what? `uname -a` ... FreeBSD tengil 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Oct 14 03:29:35 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TENGIL i386 Now, when i go

Problem with ppp

2007-10-14 Thread Lars Normann
I just upgraded my kernel and system. I also ran mergemaster. Now, when i go online with 'ppp -ddial telenor', I get this error in my ppp.log: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Here is my full ppp.log when connecting: Oct 15 01:42:05 tengil ppp[1343]: Phase:

strange problem with ppp

2002-10-31 Thread RJ45
Hello I have a strange problem with ppp. I have a ADSL connection. Since I installed 4.7 STABLE ppp looks like freezing from time to time even if the tun0 interface is up tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492 inet 80.116.25.253 -- 192.168.100.1 netmask 0x