6,803 reputation
21126
bio website
location British Columbia, Canada
age
visits member for 3 years, 10 months
seen 4 hours ago

Apr
8
comment Basic networking: Centos Server Router + Ubuntu Client setup.. unable to access outside world from client
I suggest you get your server sorted out before worrying too much about the client. You have at least two problems on the server: (1) Your internal and external addresses have the same network address (192.168.0.0/24). That's no good. Change one of them. (2) The external interface IP is non-routable (per RFC 1918). If your server is to be doing NAT for your internal network, you really want it to get a globally routable address on the external side.
Apr
8
comment Basic networking: Centos Server Router + Ubuntu Client setup.. unable to access outside world from client
Does your local network have a DHCP server? What is the output of ip addr show on the client and on the server?
Apr
2
comment Delete a iptables chain with its all rules
Try this: iptables-save | grep -v i_XXXXX_i | iptables-restore
Apr
2
answered Delete a iptables chain with its all rules
Mar
25
comment Regular Expression for “AND”?
Perhaps this question is better suited for Theoretical Computer Science. IMO, a pipeline of multiple greps is going to be much more concise than the single regex that captures the same thing. For two words, the regex might be doable, but in the general case, the length of the regex will explode combinatorially.
Mar
23
comment mirror STDOUT and STDERR to file by default
Closest thing I can think of: script.
Mar
19
comment can't assign permission for a folder to a group only one owner works
Try this: find /var/www/html -type d -exec chmod g+s '{}' \;.
Mar
18
comment RSync over SSH hangs and fails with timeout
Have you tried increasing the I/O timeout (with the --timeout=TIMEOUT option), or turning off I/O timeouts entirely (with --timeout=0)?
Mar
15
comment I can't access my public IP from local network
No, hairpin NAT is not the correct solution to this problem. Hairpin NAT would apply if OP was trying to contact a server on the local LAN from the same LAN, using the external IP address (the one assigned to ppp0) instead of the server's local LAN address. That is not the case here.
Mar
13
answered Adding more clients to openvpn
Mar
10
comment SSH Key not found logging into CentOS 5.5 from Windows (Cygwin)
Aha, now I believe I can agree with your answer. +1.
Mar
10
comment SSH Key not found logging into CentOS 5.5 from Windows (Cygwin)
True, but later in the question, OP mentions that he has inspected the authorized_keys file, and that it does contain (what he assumes to be) his public key.
Mar
10
comment SSH Key not found logging into CentOS 5.5 from Windows (Cygwin)
Um, no. cat id_rsa.pub < authorized_keys doesn't overwrite anything. But it definitely doesn't do anything useful, either. I suspect the question simply has a typo, replacing < for >.
Mar
10
comment SSH Key not found logging into CentOS 5.5 from Windows (Cygwin)
What about file ownerships? Does myuser own all the relevant dirs and files on the server side?
Mar
5
comment Linux server out of space
... or fuser.
Feb
27
comment cisco vpn client randomly disconnects with pfSense
No direct experience with pfsense, but could it be that idle connections are being timed-out? Do connections get dropped in the middle of active data transfers, or only after a long period of no transfer?
Feb
25
answered Rsync -avzHP follows hardlinks instead of copying them as hardlinks
Feb
17
comment How can I change a partition mount to var and still boot up?
@David: fixfiles and restorecon are SELinux-specific utilities. Centos6 installs SELinux by default, whereas Ubuntu (AFAIK) does not.
Feb
17
comment How can I change a partition mount to var and still boot up?
David's procedure looks good. The only thing possibly missing is dealing with SELinux ... I think you'll need to run a relabel to fix up the security contexts. Look into the restorecon and/or fixfiles commands.
Jan
30
awarded  Student