Tag Info

Hot answers tagged

2

I would use socat for that: socat TCP-LISTEN:6379,fork TCP:10.1.0.2:6379 You might want to run this using supervisor or a similar tool. On ubuntu: apt-get install socat supervisor cat > /etc/supervisor/conf.d/redis-socat.conf << EOF [program:redis-socat] command = socat TCP-LISTEN:6379,fork TCP:10.1.0.2:6379 autorestart = true user = nobody EOF ...


2

Does your host use a DNS name? If so, ask for DNS rewrite to be enabled on the Cisco ASA NAT rule for your host.


1

if you do have a public server there is a number of ways to achieve what you want. easiest solution is to use SSH tunnels. But you need to have a one time access from REMOTE to setup the tunnel. using the command: ssh you@your-public-server.org -N -o TCPKeepAlive -R 12321:ip-of-remote:22 then everytime you connect from HOME to your-public-server.org at ...


1

You get this problem, if you use a IPv4 externaddr in combination with the IPv6 bindaddr setting. ; c) Listen on the IPv4 wildcard. Example: bindaddr=0.0.0.0 ; d) Listen on the IPv4 and IPv6 wildcards. Example: bindaddr=:: ... ; (Note that using bindaddr=:: will show only a single IPv6 socket in netstat. ; IPv4 is supported at the same time ...


1

I don't see in your configuration where you set the masquerade option for your external interface. firewall-cmd --zone=external --add-masquerade --permanent This is what worked for me when I started playing with the infamous firewalld


1

iptables rules need to be configured in order of more-specific rules before less-specific. The right order should be: -A POSTROUTING -j SNAT -d 192.168.0.0/24 --to-source 192.168.0.6 -A POSTROUTING -j SNAT --to-source [publicip] The Wikipedia article about iptables explains both this and the flow of packets through chains and tables rather well. The ...


1

Unfortunately I do not have enough reputation to comment @Dan Pritts post. I have developed a board using Realtek RTL8211E phy chip and I can assure you, that it is able to operate on gigabit speed :) (actually 10/100/1000). The only problem with this phy chip would be if it had not been connected to the CPU using a gigabit interface (like RGMII for ...


1

How about the top's "load average" after some time of doing the speedtest? Does it ever reach 1? If it is not the CPU, maybe something is wrong with some lower layers? I suggest checking if ethtool or mii-tool show 1000FD in both cases (with and without router-in-the-middle). Maybe your router board forces some link settings and maybe you have a duplex ...


1

The cpu is not idling at all, one core 68.7% other 34.3% busy processing interrupts is not idle. The userspace is idle not the kernel. Not familiar with openbsd, can you set cpu affinity so that one core processes irq259 and the other irq260. Then see how busy each core is.


1

It could be something related to the network cards and the path between them and the kernel/cpu (including interrupt processing). You should look at verifying the various "offload" settings (sorry, I'm not familiar enough with FreeBSD to suggest the right tool). Also look for any other network-card driver-specific settings that can be tweaked, and ...



Only top voted, non community-wiki answers of a minimum length are eligible