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!
|
|