@
linhua 你好,实在不想麻烦你,但看了你所有相关的帖子也没发现问题出在哪
centos7 64
[root@UselessRight-VM ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:21
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:20
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:3306
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 /* LKL_RAW */
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 /* LKL_RAW */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 /* LKL_RAW */
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 /* LKL_RAW */
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
--------------------------------------------------------------------------------------------------------------------------
[root@UselessRight-VM ~]# /root/rinetd -f -c /root/rinetd.conf raw venet0:0
PACKET_QDISC_BYPASS, ignoring: Protocol not available
[ 0.000000] Linux version 4.10.0+ (
[email protected]) (gcc version 7.1.1 20170516 (GCC) ) #56 Sun Jun 25 18:59:40 CST 2017
[ 0.000000] bootmem address range: 0x7f4094000000 - 0x7f4097fff000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16159
[ 0.000000] Kernel command line: virtio_mmio.device=268@0x1000000:1
[ 0.000000] PID hash table entries: 256 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Memory available: 64492k/0k RAM
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:4096
[ 0.000000] lkl: irqs initialized
[ 0.000000] clocksource: lkl: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000001] lkl: time and timers initialized (irq2)
[ 0.000006] pid_max: default: 4096 minimum: 301
[ 0.000030] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.000033] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.008477] console [lkl_console0] enabled
[ 0.008484] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008643] NET: Registered protocol family 16
[ 0.008950] clocksource: Switched to clocksource lkl
[ 0.009069] NET: Registered protocol family 2
[ 0.009245] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.009254] TCP bind hash table entries: 512 (order: 0, 4096 bytes)
[ 0.009262] TCP: Hash tables configured (established 512 bind 512)
[ 0.009340] UDP hash table entries: 128 (order: 0, 4096 bytes)
[ 0.009347] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[ 0.009471] virtio-mmio: Registering device virtio-mmio.0 at 0x1000000-0x100010b, IRQ 1.
[ 0.009672] workingset: timestamp_bits=62 max_order=14 bucket_order=0
[ 0.009698] virtio-mmio virtio-mmio.0: Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this might not work.
[ 0.009963] NET: Registered protocol family 10
[ 0.010330] Segment Routing with IPv6
[ 0.010349] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.010576] Warning: unable to open an initial console.
[ 0.010598] This architecture does not have kernel memory protection.
[ 2.498973] random: fast init done
-------------------------------------------------------------------------------------------------------
[root@UselessRight-VM ~]# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
^C
--- 10.0.0.2 ping statistics ---
9 packets transmitted, 0 received, 100% packet loss, time 8004ms