• Как настроить iptables для 4g модема??

    @LBJ Автор вопроса
    [root@habarskoe sysconfig]# ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:16:E6:41:9F:19
              inet addr:192.168.10.254  Bcast:192.168.10.255  Mask:255.255.255.0
              inet6 addr: fdc9:f4db:87d:0:216:e6ff:fe41:9f19/64 Scope:Global
              inet6 addr: fe80::216:e6ff:fe41:9f19/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:11614796 errors:0 dropped:0 overruns:0 frame:0
              TX packets:6379071 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1010862634 (964.0 MiB)  TX bytes:721947957 (688.5 MiB)
              Interrupt:18
    
    eth0:1    Link encap:Ethernet  HWaddr 00:16:E6:41:9F:19
              inet addr:192.168.9.254  Bcast:192.168.9.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Interrupt:18
    
    gre0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-E1-AA-00-00-00-00-00-00-00-00
              NOARP  MTU:1476  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:83116 errors:0 dropped:0 overruns:0 frame:0
              TX packets:83116 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:8325416 (7.9 MiB)  TX bytes:8325416 (7.9 MiB)
    Ответ написан
    Комментировать