![TELES VoIP Box BRI Series Reference Manual Download Page 43](http://html1.mh-extra.com/html/teles/voip-box-bri-series/voip-box-bri-series_reference-manual_1082149043.webp)
3 VoIPBox installation
VoIPBox DSL / VoIPBox BRI – version 21.0.009
Page 43
3.12 Changing the IP settings
In many cases no changes on the IP settings of the VoIPBox
DSL / VoIPBox BRI are needed. Because the IP configuration of
the VoIPBox BRI is different to the IP configuration of the
VoIPBox DSL the settings are described in different chapter.
3.12.1
Change the IP settings on VoIPBox DSL
The VoIPBox DSL comes with active DHCP server and a fix IP
address (192.168.1.2/24) for both IP ports that works as a
bridge. The VoIPBox DSL works as default gateway in the lo-
cale network. The default configuration is shown in
and compleate in
the required sections for the IP
configuration of the VoIPBox DSL are the sections
[br0]
(for
the bridge mode) or
[eth1]
and
[eth2]
(for the single Ethernet
interfaces) and for the NAT settings in the first line of the
[iptables]
section. For more details please see
Configuration file ip.cfg on page 54
Example 3.7
Main sections of the ip.cfg
[br0]
IpAddress=192.168.1.2 netmask 255.255.255.0
[iptables]
iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.1.2 netmask 255.255.255.0 -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 -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
Summary of Contents for VoIP Box BRI Series
Page 1: ...VoIPBox DSL VoIPBox BRI Reference Manual Software version 21 0...
Page 15: ...1 Safety and security precautions...
Page 23: ...2 Overview...
Page 28: ...3 VoIPBoxinstallation...
Page 52: ...4 Configuration files...
Page 88: ...5 Additional VoIP parameters...
Page 114: ...6 Signaling and routing features...
Page 141: ...7 System maintenance and software update...
Page 181: ...8 Online traffic monitor...
Page 193: ...9 Troubleshooting...
Page 212: ...Appendix A Default config files...