Appendix A Default config files
VoIPBox DSL / VoIPBox BRI – version 21.0.009
Page 216
A.2 ip.cfg
The ip.cfg contains the settings of the Ethernet interfaces.
shows the default settings of the ip.cfg of the
VoIPBox DSL.
Example A.5
Default ip.cfg of the VoIPBox DSL
[system]
Hostname=TAG99014188200316
[br0]
IpAddress=192.168.1.2 netmask 255.255.255.0
#[Eth1]
#IpAddress=192.168.1.2 netmask 255.255.255.0
#[Eth2]
#IpAddress=192.168.2.2 netmask 255.255.255.0
[dsl]
User=dsluser
Pwd=XXXXXX
vlan=7
Vpi=1
Vci=32
dslif=ppp
[dslppp]
lock
nodeflate
novj
novjccomp
nodetach
usepeerdns
defaultroute
lcp-echo-interval 10
lcp-echo-failure 10
debug
logfile /tmp/pppd.log
[iptables]
iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.1.0/24 -j MASQUERADE
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT
iptables -A INPUT -s 0.0.0.0/0 -p tcp --dport 4445 -i ppp0 -j ACCEPT
#iptables -A INPUT -p icmp -i ppp0 -j ACCEPT
iptables -N block
iptables -A block -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A block -m state --state NEW ! -i ppp0 -j ACCEPT
iptables -A block -m limit -j LOG
iptables -A block -j DROP
iptables -A INPUT -j block
iptables -A FORWARD -j block
Содержание VoIP Box BRI Series
Страница 1: ...VoIPBox DSL VoIPBox BRI Reference Manual Software version 21 0...
Страница 15: ...1 Safety and security precautions...
Страница 23: ...2 Overview...
Страница 28: ...3 VoIPBoxinstallation...
Страница 52: ...4 Configuration files...
Страница 88: ...5 Additional VoIP parameters...
Страница 114: ...6 Signaling and routing features...
Страница 141: ...7 System maintenance and software update...
Страница 181: ...8 Online traffic monitor...
Страница 193: ...9 Troubleshooting...
Страница 212: ...Appendix A Default config files...