HI All, My internet connection service provider connection has been changed. They are not given the static ip. they are DHCP. please help me. how to configure the WAN DHCP. please help. i have attached my previous configuration files. where i need to be edit?.. please help me.
Thank you, Regards, Suresh
<?xml version="1.0"?> <pfsense> <version>3.0</version> <lastchange/> <theme>nervecenter</theme> <system> <optimization>normal</optimization> <hostname>tritonetech</hostname> <domain>local</domain> <username>admin</username> <password>$1$KC6BF8Fa$osRRPC4kYCMwCs35mBuwi0</password> <timezone>Asia/Calcutta</timezone> <time-update-interval/> <timeservers>0.pfsense.pool.ntp.org</timeservers> <webgui> <protocol>https</protocol> <port/> </webgui> <disablenatreflection>yes</disablenatreflection> <dnsserver>202.148.202.4</dnsserver> <dnsserver>202.148.202.3</dnsserver> <dnsallowoverride/> </system> <interfaces> <lan> <if>nfe0</if> <ipaddr>192.168.1.1</ipaddr> <subnet>24</subnet> <media/> <mediaopt/> <bandwidth>100</bandwidth> <bandwidthtype>Mb</bandwidthtype> </lan> <wan> <if>vr0</if> <mtu/> <ipaddr>118.102.132.148</ipaddr> <subnet>24</subnet> <gateway>118.102.132.145</gateway> <blockpriv>on</blockpriv> <blockbogons>on</blockbogons> <disableftpproxy/> <dhcphostname/> <media/> <mediaopt/> <bandwidth>100</bandwidth> <bandwidthtype>Mb</bandwidthtype> <spoofmac/> </wan> </interfaces> <staticroutes/> <pppoe> <username/> <password/> <provider/> </pppoe> <pptp> <username/> <password/> <local/> <subnet/> <remote/> <timeout/> </pptp> <bigpond> <username/> <password/> <authserver/> <authdomain/> <minheartbeatinterval/> </bigpond> <dyndns> <type>dyndns</type> <username/> <password/> <host/> <mx/> </dyndns> <dhcpd> <lan> <enable/> <range> <from>192.168.1.50</from> <to>192.168.1.245</to> </range> <defaultleasetime/> <maxleasetime/> <netmask/> <failover_peerip/> <gateway/> <ddnsdomain/> <next-server/> <filename/> </lan> </dhcpd> <pptpd> <mode/> <redir/> <localip/> <remoteip/> </pptpd> <ovpn/> <dnsmasq> <enable/> </dnsmasq> <snmpd> <syslocation/> <syscontact/> <rocommunity>public</rocommunity> </snmpd> <diag> <ipv6nat> <ipaddr/> </ipv6nat> </diag> <bridge/> <syslog/> <nat> <ipsecpassthru> <enable/> </ipsecpassthru> <rule> <protocol>tcp</protocol> <external-port>443</external-port> <target>173.201.92.1</target> <local-port>443</local-port> <interface>wan</interface> <descr>20.</descr> </rule> <rule> <protocol>tcp</protocol> <external-port>21</external-port> <target>173.201.92.1</target> <local-port>21</local-port> <interface>wan</interface> <descr>21</descr> </rule> <rule> <protocol>tcp/udp</protocol> <external-port>80</external-port> <target>173.201.92.1</target> <local-port>21</local-port> <interface>wan</interface> <descr/> </rule> </nat> <filter> <rule> <type>pass</type> <interface>wan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <any/> </source> <destination> <address>173.201.92.1</address> <port>21</port> </destination> <descr>NAT </descr> <disabled/> </rule> <rule> <interface>wan</interface> <protocol>tcp</protocol> <source> <any/> </source> <destination> <address>74.125.153.125</address> <port>443-47609</port> </destination> <descr>NAT em</descr> <disabled/> </rule> <rule> <type>pass</type> <interface>wan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>icmp</protocol> <source> <any/> </source> <destination> <network>wanip</network> </destination> <log/> <descr>icmp</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os></os> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <network>lan</network> <port>22</port> </destination> <log/> <descr>22 Port is open</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>443</port> </destination> <log/> <descr>20 </descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>44566</port> </destination> <log/> <descr>44566</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <any/> </source> <destination> <network>lan</network> <port>2196</port> </destination> <log/> <descr>2196 for ssl</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>2195</port> </destination> <log/> <descr>for ssl 2195</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>icmp</protocol> <icmptype>echoreq</icmptype> <source> <any/> </source> <destination> <any/> </destination> <log/> <descr>ICMP</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>5223</port> </destination> <log/> <descr>Ichat 5223</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>5222</port> </destination> <log/> <descr>Ichat 5222</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>33001</port> </destination> <log/> <descr>For iPhone33001</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>17500</port> </destination> <log/> <descr>Iphone 17500</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>995</port> </destination> <log/> <descr>For winscp995</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <any/> </source> <destination> <network>lan</network> <port>20</port> </destination> <descr>20</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>2087</port> </destination> <log/> <descr>2087</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <address>192.168.1.1</address> </source> <destination> <any/> </destination> <log/> <descr/> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>80</port> </destination> <log/> <descr>HTTP-Access , proxy doesn't work enable this rule</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>443</port> </destination> <log/> <descr>HTTPS-Access,proxy doesn't work enable this rule</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>21</port> </destination> <log/> <descr>FTP-Access</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp</protocol> <source> <network>lan</network> </source> <destination> <address>192.168.1.1</address> <port>3128</port> </destination> <log/> <descr>Squid_Proxy-Access</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <address>202.148.202.3</address> <port>53</port> </destination> <log/> <descr>DNS-Access</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <address>202.148.202.4</address> <port>53</port> </destination> <log/> <descr>DNS-Access</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>2083</port> </destination> <log/> <descr>2083 port opened</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <address>192.168.5.0/24</address> </source> <destination> <address>192.168.1.1</address> <port>3128</port> </destination> <log/> <descr>port 3128 from 192.168.5.0 network opened</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>3689</port> </destination> <log/> <descr>itunes</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <any/> <port>2082</port> </destination> <log/> <descr>Port 2082 opend </descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <any/> </source> <destination> <any/> <port>993</port> </destination> <log/> <descr>993 is opend</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>udp</protocol> <source> <any/> </source> <destination> <network>lan</network> <port>5060</port> </destination> <log/> <descr>magic jack 5060</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>udp</protocol> <source> <any/> </source> <destination> <network>lan</network> <port>5070</port> </destination> <log/> <descr>magic jack 5070</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <any/> </source> <destination> <network>lan</network> <port>8000</port> </destination> <log/> <descr>80 for redmine</descr> <gateway>118.102.132.145</gateway> </rule> <rule> <type>pass</type> <interface>lan</interface> <max-src-nodes/> <max-src-states/> <statetimeout/> <statetype>keep state</statetype> <os/> <protocol>tcp/udp</protocol> <source> <network>lan</network> </source> <destination> <any/> </destination> <log/> <descr>587 for Redmine</descr> <gateway>118.102.132.145</gateway> </rule> </filter> <shaper/> <ipsec> <preferredoldsa/> </ipsec> <aliases/> <proxyarp/> <cron> <item> <minute>0</minute> <hour>*</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/bin/nice -n20 newsyslog</command> </item> <item> <minute>1,31</minute> <hour>0-5</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/bin/nice -n20 adjkerntz -a</command> </item> <item> <minute>1</minute> <hour>3</hour> <mday>1</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/bin/nice -n20 /etc/rc.update_bogons.sh</command> </item> <item> <minute>*/60</minute> <hour>*</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 sshlockout</command> </item> <item> <minute>1</minute> <hour>1</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/bin/nice -n20 /etc/rc.dyndns.update</command> </item> <item> <minute>*/60</minute> <hour>*</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 virusprot</command> </item> <item> <minute>*/5</minute> <hour>*</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/local/bin/checkreload.sh</command> </item> <item> <minute>*/5</minute> <hour>*</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/etc/ping_hosts.sh</command> </item> <item> <minute>*/140</minute> <hour>*</hour> <mday>*</mday> <month>*</month> <wday>*</wday> <who>root</who> <command>/usr/local/sbin/reset_slbd.sh</command> </item> </cron> <wol/> <installedpackages> <package> <name>bandwidthd</name> <website>http://bandwidthd.sourceforge.net/</website> <descr>BandwidthD tracks usage of TCP/IP network subnets and builds html files with graphs to display utilization. Charts are built by individual IPs, and by default display utilization over 2 day, 8 day, 40 day, and 400 day periods. Furthermore, each ip address's utilization can be logged out at intervals of 3.3 minutes, 10 minutes, 1 hour or 12 hours in cdf format, or to a backend database server. HTTP, TCP, UDP, ICMP, VPN, and P2P traffic are color coded.</descr> <category>System</category> <version>2.0.1.2</version> <status>BETA</status> <required_version>1.2.1</required_version> <depends_on_package_base_url>http://files.pfsense.org/packages/7/All/</depends_on_package_base_url> <depends_on_package>bandwidthd-2.0.1_1.tbz</depends_on_package> <depends_on_package>libiconv-1.11_1.tbz</depends_on_package> <config_file>http://www.pfsense.org/packages/config/bandwidthd/bandwidthd.xml</config_file> <configurationfile>bandwidthd.xml</configurationfile> <noembedded>true</noembedded> </package> <package> <name>squid</name> <descr>High performance web proxy cache.</descr> <website>http://www.squid-cache.org/</website> <category>Network</category> <version>2.7.9_4</version> <status>Stable</status> <required_version>1.2.1</required_version> <maintainer>ferna...@netfilter.com.br seth....@xs4all.nl mfuch...@googlemail.com</maintainer> <depends_on_package_base_url>http://files.pfsense.org/packages/7/All/</depends_on_package_base_url> <depends_on_package>squid-2.7.9.tbz</depends_on_package> <depends_on_package>squid_radius_auth-1.10.tbz</depends_on_package> <depends_on_package>openldap-client-2.4.22.tbz</depends_on_package> <config_file>http://www.pfsense.org/packages/config/squid/squid.xml</config_file> <configurationfile>squid.xml</configurationfile> </package> <menu> <name>BandwidthD</name> <tooltiptext/> <section>Services</section> <url>/pkg_edit.php?xml=bandwidthd.xml&id=0</url> </menu> <menu> <name>Proxy server</name> <tooltiptext>Modify the proxy server's settings</tooltiptext> <section>Services</section> <url>/pkg_edit.php?xml=squid.xml&id=0</url> </menu> <service> <name>bandwidthd</name> <rcfile>bandwidthd.sh</rcfile> <executable>bandwidthd</executable> </service> <service> <name>squid</name> <rcfile>squid.sh</rcfile> <executable>squid</executable> <description>Proxy server Service</description> </service> <squidnac> <config> <allowed_subnets>MTkyLjE2OC4xLjAvMjQNCjE5Mi4xNjguNS4wLzI0</allowed_subnets> <unrestricted_hosts>MTkyLjE2OC4xLjEzOQ0KDQoxOTIuMTY4LjEuMzANCjE5Mi4xNjguMS4zMg0KMTkyLjE2OC4xLjc5DQoxOTIuMTY4LjEuNDkNCjE5Mi4xNjguMS4xMzgNCjE5Mi4xNjguMS4xMTkNCjE5Mi4xNjguMS4zMQ0KMTkyLjE2OC4xLjk4DQoxOTIuMTY4LjEuNw==</unrestricted_hosts> <banned_hosts/> <whitelist>cmVnYXR0YS5tb2Jpc3BlY3Rvci5jb20vY3BhbmVs</whitelist> <blacklist>b3JrdXQuY29tDQp0d2l0dGVyLmNvbQ0KZmFjZWJvb2suY29tDQp5b3V0dWJlLmNvbQ0KNzQuMTI1LjEyNy44NQ0KNzQuMTI1Ljk1LjkzDQo3NC4xMjUuMTI3LjkzDQoxNjguMTQzLjE2Mi4xMDAgDQoxMjguMjQyLjI0MC4xMTYgDQoxMjguMjQyLjI0NS4yMTINCjY5LjYzLjE4OS4xNiANCjY5LjYzLjE4MS4xMiANCjY5LjYzLjE4OS4xMQ0KaGlkZW15YXNzLmNvbQ0KKmhpZGVteWFzcy5jb20=</blacklist> <ext_cachemanager/> <addtl_ports/> <addtl_sslports/> </config> </squidnac> <bandwidthd> <config> <active_interface>lan</active_interface> <skipintervals/> <graphcutoff/> <promiscuous/> <outputcdf/> <recovercdf/> <filter/> <drawgraphs>on</drawgraphs> <meta_refresh/> </config> </bandwidthd> <squid> <config> <active_interface>lan</active_interface> <allow_interface>on</allow_interface> <transparent_proxy/> <private_subnet_proxy_off/> <defined_ip_proxy_off/> <log_enabled/> <log_dir>/var/squid/logs</log_dir> <log_rotate/> <proxy_port>3128</proxy_port> <icp_port/> <visible_hostname>tritonetech_proxy</visible_hostname> <admin_email>admin@localhost</admin_email> <error_language>English</error_language> <disable_xforward/> <disable_via/> <uri_whitespace>strip</uri_whitespace> <dns_nameservers/> <disable_squidversion/> <custom_options/> </config> </squid> <squidcache> <config> <harddisk_cache_size>5000</harddisk_cache_size> <harddisk_cache_system>aufs</harddisk_cache_system> <harddisk_cache_location>/var/squid/cache</harddisk_cache_location> <memory_cache_size>8</memory_cache_size> <minimum_object_size>0</minimum_object_size> <maximum_object_size>4</maximum_object_size> <level1_subdirs>16</level1_subdirs> <memory_replacement_policy>heap GDSF</memory_replacement_policy> <cache_replacement_policy>heap LFUDA</cache_replacement_policy> <cache_swap_low>90</cache_swap_low> <cache_swap_high>95</cache_swap_high> <donotcache/> <enable_offline/> </config> </squidcache> <openvpnclient> <config/> </openvpnclient> <openvpnserver> <config/> </openvpnserver> </installedpackages> <revision> <description>/firewall_rules_edit.php made unknown change</description> <time>1294483608</time> </revision> <rrd> <enable/> </rrd> </pfsense>
--------------------------------------------------------------------- To unsubscribe, e-mail: support-unsubscr...@pfsense.com For additional commands, e-mail: support-h...@pfsense.com Commercial support available - https://portal.pfsense.org