The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 pppd question
Author: Evpaty 
Date:   26-09-00 03:55

Hi all!
I have a FreeBSD 4.1-STABLE box act as my dialup router. It has two modems on cuaa0 and cuaa1. One is for dial-up and one for dial-in. Dial-up is on cuaa0, via pppd. Dial-in - mgetty+pppd.
I have an IPFILTER installed. I have to do NAT for internet connection. Nat rules are activated for device ppp0. When i first connect cuaa0 to my ISP, it stands on ppp0 and everything works fine (at least as regards NAT ^_^). But when at connection to ISP is not activated, people calling to cuaa1 stand on ppp0, not ppp1, and firewall rules for ppp0 doesn't let them to work with Samba, ftp, etc. How can i fix it? I want to have cuaa0 -> ppp0 and cuaa1 -> ppp1 every time!

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 

 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum