Advertisement
Guest User

Untitled

a guest
Jan 26th, 2015
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. /etc/systemd/system/multi-user.target.wants
  2.  
  3. [root@centpeus multi-user.target.wants]# more ipforwarding.service
  4. [Unit]
  5. Description=Enable ip fowrarding
  6.  
  7. [Service]
  8. Type=oneshot
  9. ExecStart=/usr/bin/sysctl net.ipv4.conf.all.forwarding=1
  10.  
  11. [Install]
  12. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement