Advertisement
Guest User

Untitled

a guest
Jan 27th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.18 KB | None | 0 0
  1. ifconfig:
  2. bnep0     Link encap:Ethernet  HWaddr 00:22:15:4c:98:17  
  3.           inet6 addr: fe80::222:15ff:fe4c:9817/64 Scope:Link
  4.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  5.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  6.           TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
  7.           collisions:0 txqueuelen:1000
  8.           RX bytes:24 (24.0 B)  TX bytes:1275 (1.2 KB)
  9.  
  10. eth0      Link encap:Ethernet  HWaddr 00:23:54:17:40:52  
  11.           UP BROADCAST MULTICAST  MTU:1500  Metric:1
  12.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  13.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  14.           collisions:0 txqueuelen:1000                                                            
  15.           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)                                                  
  16.                                                                                                    
  17. lo        Link encap:Local Loopback                                                                
  18.           inet addr:127.0.0.1  Mask:255.0.0.0                                                      
  19.           inet6 addr: ::1/128 Scope:Host                                                          
  20.           UP LOOPBACK RUNNING  MTU:65536  Metric:1                                                
  21.           RX packets:425 errors:0 dropped:0 overruns:0 frame:0                                    
  22.           TX packets:425 errors:0 dropped:0 overruns:0 carrier:0                                  
  23.           collisions:0 txqueuelen:0                                                                
  24.           RX bytes:47024 (47.0 KB)  TX bytes:47024 (47.0 KB)                                      
  25.                                                                                                    
  26. pan1      Link encap:Ethernet  HWaddr 62:cf:50:57:01:00                                            
  27.           inet addr:10.10.10.1  Bcast:10.10.10.255  Mask:255.255.255.0
  28.           inet6 addr: fe80::60cf:50ff:fe57:100/64 Scope:Link
  29.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  30.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  31.           TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
  32.           collisions:0 txqueuelen:0
  33.           RX bytes:0 (0.0 B)  TX bytes:8895 (8.8 KB)
  34.  
  35. wlan0     Link encap:Ethernet  HWaddr 00:22:43:1c:22:9a  
  36.           inet addr:192.168.1.152  Bcast:192.168.1.255  Mask:255.255.255.0
  37.           inet6 addr: fe80::222:43ff:fe1c:229a/64 Scope:Link
  38.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  39.           RX packets:1165 errors:0 dropped:0 overruns:0 frame:0
  40.           TX packets:1269 errors:0 dropped:0 overruns:0 carrier:0
  41.           collisions:0 txqueuelen:1000
  42.           RX bytes:716110 (716.1 KB)  TX bytes:188656 (188.6 KB)
  43.  
  44.  
  45.  
  46. sudo iptables -L -n
  47. Chain INPUT (policy ACCEPT)
  48. target     prot opt source               destination        
  49.  
  50. Chain FORWARD (policy ACCEPT)
  51. target     prot opt source               destination        
  52. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0          
  53. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0          
  54. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0          
  55. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0          
  56. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED
  57. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0          
  58. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED
  59.  
  60. Chain OUTPUT (policy ACCEPT)
  61. target     prot opt source               destination        
  62.  
  63.  
  64. cat /proc/sys/net/ipv4/ip_forward: 1
  65.  
  66. ps aux|grep dns:
  67.  
  68. /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/run/sendsigs.omit.d/network-manager.dnsmasq.pid --listen-address=127.0.1.1 --conf-file=/var/run/NetworkManager/dnsmasq.conf --cache-size=0 --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d
  69.  
  70. dnsmasq --pid-file=/var/run/dnsmasq.pan1.pid --bind-interfaces --dhcp-range=10.10.10.2,10.10.10.254,60m --except-interface=lo --interface=pan1 --dhcp-option=option:router,10.10.10.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement